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 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <oleacc.h> | 10 #include <oleacc.h> |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); | 94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); |
95 | 95 |
96 // The Windows-specific unique ID, used as the child ID for MSAA methods | 96 // The Windows-specific unique ID, used as the child ID for MSAA methods |
97 // like NotifyWinEvent, and as the unique ID for IAccessible2 and ISimpleDOM. | 97 // like NotifyWinEvent, and as the unique ID for IAccessible2 and ISimpleDOM. |
98 LONG unique_id_win() const { return unique_id_win_; } | 98 LONG unique_id_win() const { return unique_id_win_; } |
99 | 99 |
100 // | 100 // |
101 // BrowserAccessibility methods. | 101 // BrowserAccessibility methods. |
102 // | 102 // |
103 CONTENT_EXPORT virtual void OnDataChanged() OVERRIDE; | 103 CONTENT_EXPORT virtual void OnDataChanged() override; |
104 CONTENT_EXPORT virtual void OnUpdateFinished() OVERRIDE; | 104 CONTENT_EXPORT virtual void OnUpdateFinished() override; |
105 CONTENT_EXPORT virtual void NativeAddReference() OVERRIDE; | 105 CONTENT_EXPORT virtual void NativeAddReference() override; |
106 CONTENT_EXPORT virtual void NativeReleaseReference() OVERRIDE; | 106 CONTENT_EXPORT virtual void NativeReleaseReference() override; |
107 CONTENT_EXPORT virtual bool IsNative() const OVERRIDE; | 107 CONTENT_EXPORT virtual bool IsNative() const override; |
108 CONTENT_EXPORT virtual void OnLocationChanged() OVERRIDE; | 108 CONTENT_EXPORT virtual void OnLocationChanged() override; |
109 | 109 |
110 // | 110 // |
111 // IAccessible methods. | 111 // IAccessible methods. |
112 // | 112 // |
113 | 113 |
114 // Performs the default action on a given object. | 114 // Performs the default action on a given object. |
115 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); | 115 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); |
116 | 116 |
117 // Retrieves the child element or child object at a given point on the screen. | 117 // Retrieves the child element or child object at a given point on the screen. |
118 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, | 118 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 // Give BrowserAccessibility::Create access to our constructor. | 893 // Give BrowserAccessibility::Create access to our constructor. |
894 friend class BrowserAccessibility; | 894 friend class BrowserAccessibility; |
895 friend class BrowserAccessibilityRelation; | 895 friend class BrowserAccessibilityRelation; |
896 | 896 |
897 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 897 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
898 }; | 898 }; |
899 | 899 |
900 } // namespace content | 900 } // namespace content |
901 | 901 |
902 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 902 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |