Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:expandtab:shiftwidth=2:tabstop=2:
3 */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #ifndef _ACCESSIBLE_EDITABLETEXT_H
9 #define _ACCESSIBLE_EDITABLETEXT_H
11 #include "nsISupports.h"
12 #include "nsIAccessibleEditableText.h"
14 #include "AccessibleEditableText.h"
16 namespace mozilla {
17 namespace a11y {
19 class ia2AccessibleEditableText: public IAccessibleEditableText
20 {
21 public:
23 // IAccessibleEditableText
24 virtual HRESULT STDMETHODCALLTYPE copyText(
25 /* [in] */ long startOffset,
26 /* [in] */ long endOffset);
28 virtual HRESULT STDMETHODCALLTYPE deleteText(
29 /* [in] */ long startOffset,
30 /* [in] */ long endOffset);
32 virtual HRESULT STDMETHODCALLTYPE insertText(
33 /* [in] */ long offset,
34 /* [in] */ BSTR *text);
36 virtual HRESULT STDMETHODCALLTYPE cutText(
37 /* [in] */ long startOffset,
38 /* [in] */ long endOffset);
40 virtual HRESULT STDMETHODCALLTYPE pasteText(
41 /* [in] */ long offset);
43 virtual HRESULT STDMETHODCALLTYPE replaceText(
44 /* [in] */ long startOffset,
45 /* [in] */ long endOffset,
46 /* [in] */ BSTR *text);
48 virtual HRESULT STDMETHODCALLTYPE setAttributes(
49 /* [in] */ long startOffset,
50 /* [in] */ long endOffset,
51 /* [in] */ BSTR *attributes);
52 };
54 } // namespace a11y
55 } // namespace mozilla
57 #endif