OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 static std::map<int32, string16> role_string_map; | 89 static std::map<int32, string16> role_string_map; |
90 static std::map<int32, string16> state_string_map; | 90 static std::map<int32, string16> state_string_map; |
91 | 91 |
92 CONTENT_EXPORT BrowserAccessibilityWin(); | 92 CONTENT_EXPORT BrowserAccessibilityWin(); |
93 | 93 |
94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); | 94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); |
95 | 95 |
96 // | 96 // |
97 // BrowserAccessibility methods. | 97 // BrowserAccessibility methods. |
98 // | 98 // |
99 CONTENT_EXPORT virtual void PreInitialize(); | 99 CONTENT_EXPORT virtual void PreInitialize() OVERRIDE; |
100 CONTENT_EXPORT virtual void PostInitialize(); | 100 CONTENT_EXPORT virtual void PostInitialize() OVERRIDE; |
101 CONTENT_EXPORT virtual void NativeAddReference(); | 101 CONTENT_EXPORT virtual void NativeAddReference() OVERRIDE; |
102 CONTENT_EXPORT virtual void NativeReleaseReference(); | 102 CONTENT_EXPORT virtual void NativeReleaseReference() OVERRIDE; |
| 103 CONTENT_EXPORT virtual bool IsNative() OVERRIDE; |
103 | 104 |
104 // | 105 // |
105 // IAccessible methods. | 106 // IAccessible methods. |
106 // | 107 // |
107 | 108 |
108 // Performs the default action on a given object. | 109 // Performs the default action on a given object. |
109 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); | 110 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); |
110 | 111 |
111 // Retrieves the child element or child object at a given point on the screen. | 112 // Retrieves the child element or child object at a given point on the screen. |
112 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, | 113 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 std::vector<int32> hyperlinks_; | 859 std::vector<int32> hyperlinks_; |
859 | 860 |
860 // Give BrowserAccessibility::Create access to our constructor. | 861 // Give BrowserAccessibility::Create access to our constructor. |
861 friend class BrowserAccessibility; | 862 friend class BrowserAccessibility; |
862 friend class BrowserAccessibilityRelation; | 863 friend class BrowserAccessibilityRelation; |
863 | 864 |
864 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 865 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
865 }; | 866 }; |
866 | 867 |
867 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 868 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |