OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlcom.h> | 10 #include <atlcom.h> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 COM_INTERFACE_ENTRY(IAccessibleValue) | 70 COM_INTERFACE_ENTRY(IAccessibleValue) |
71 COM_INTERFACE_ENTRY(IServiceProvider) | 71 COM_INTERFACE_ENTRY(IServiceProvider) |
72 COM_INTERFACE_ENTRY(ISimpleDOMDocument) | 72 COM_INTERFACE_ENTRY(ISimpleDOMDocument) |
73 COM_INTERFACE_ENTRY(ISimpleDOMNode) | 73 COM_INTERFACE_ENTRY(ISimpleDOMNode) |
74 COM_INTERFACE_ENTRY(ISimpleDOMText) | 74 COM_INTERFACE_ENTRY(ISimpleDOMText) |
75 END_COM_MAP() | 75 END_COM_MAP() |
76 | 76 |
77 // Represents a non-static text node in IAccessibleHypertext. This character | 77 // Represents a non-static text node in IAccessibleHypertext. This character |
78 // is embedded in the response to IAccessibleText::get_text, indicating the | 78 // is embedded in the response to IAccessibleText::get_text, indicating the |
79 // position where a non-static text child object appears. | 79 // position where a non-static text child object appears. |
80 static const char16 kEmbeddedCharacter[]; | 80 CONTENT_EXPORT static const char16 kEmbeddedCharacter[]; |
81 | 81 |
82 CONTENT_EXPORT BrowserAccessibilityWin(); | 82 CONTENT_EXPORT BrowserAccessibilityWin(); |
83 | 83 |
84 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); | 84 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); |
85 | 85 |
86 // | 86 // |
87 // BrowserAccessibility methods. | 87 // BrowserAccessibility methods. |
88 // | 88 // |
89 CONTENT_EXPORT virtual void PreInitialize(); | 89 CONTENT_EXPORT virtual void PreInitialize(); |
90 CONTENT_EXPORT virtual void PostInitialize(); | 90 CONTENT_EXPORT virtual void PostInitialize(); |
91 CONTENT_EXPORT virtual void NativeAddReference(); | 91 CONTENT_EXPORT virtual void NativeAddReference(); |
92 CONTENT_EXPORT virtual void NativeReleaseReference(); | 92 CONTENT_EXPORT virtual void NativeReleaseReference(); |
93 | 93 |
94 // | 94 // |
95 // IAccessible methods. | 95 // IAccessible methods. |
96 // | 96 // |
97 | 97 |
98 // Performs the default action on a given object. | 98 // Performs the default action on a given object. |
99 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); | 99 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); |
100 | 100 |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 std::vector<int32> hyperlinks_; | 801 std::vector<int32> hyperlinks_; |
802 | 802 |
803 // Give BrowserAccessibility::Create access to our constructor. | 803 // Give BrowserAccessibility::Create access to our constructor. |
804 friend class BrowserAccessibility; | 804 friend class BrowserAccessibility; |
805 friend class BrowserAccessibilityRelation; | 805 friend class BrowserAccessibilityRelation; |
806 | 806 |
807 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 807 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
808 }; | 808 }; |
809 | 809 |
810 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 810 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |