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 UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 5 #ifndef UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 COM_INTERFACE_ENTRY(IAccessibleEx) | 55 COM_INTERFACE_ENTRY(IAccessibleEx) |
56 COM_INTERFACE_ENTRY(IAccessibleText) | 56 COM_INTERFACE_ENTRY(IAccessibleText) |
57 COM_INTERFACE_ENTRY(IRawElementProviderSimple) | 57 COM_INTERFACE_ENTRY(IRawElementProviderSimple) |
58 COM_INTERFACE_ENTRY(IServiceProvider) | 58 COM_INTERFACE_ENTRY(IServiceProvider) |
59 END_COM_MAP() | 59 END_COM_MAP() |
60 | 60 |
61 virtual ~NativeViewAccessibilityWin(); | 61 virtual ~NativeViewAccessibilityWin(); |
62 | 62 |
63 // NativeViewAccessibility. | 63 // NativeViewAccessibility. |
64 virtual void NotifyAccessibilityEvent( | 64 virtual void NotifyAccessibilityEvent( |
65 ui::AXEvent event_type) OVERRIDE; | 65 ui::AXEvent event_type) override; |
66 virtual gfx::NativeViewAccessible GetNativeObject() OVERRIDE; | 66 virtual gfx::NativeViewAccessible GetNativeObject() override; |
67 virtual void Destroy() OVERRIDE; | 67 virtual void Destroy() override; |
68 | 68 |
69 // Supported IAccessible methods. | 69 // Supported IAccessible methods. |
70 | 70 |
71 // Retrieves the child element or child object at a given point on the screen. | 71 // Retrieves the child element or child object at a given point on the screen. |
72 virtual STDMETHODIMP accHitTest(LONG x_left, LONG y_top, VARIANT* child); | 72 virtual STDMETHODIMP accHitTest(LONG x_left, LONG y_top, VARIANT* child); |
73 | 73 |
74 // Performs the object's default action. | 74 // Performs the object's default action. |
75 STDMETHODIMP accDoDefaultAction(VARIANT var_id); | 75 STDMETHODIMP accDoDefaultAction(VARIANT var_id); |
76 | 76 |
77 // Retrieves the specified object's current screen location. | 77 // Retrieves the specified object's current screen location. |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 // an alert event, in order to provide an api to quickly identify all | 434 // an alert event, in order to provide an api to quickly identify all |
435 // open alerts. | 435 // open alerts. |
436 static std::vector<int> alert_target_view_storage_ids_; | 436 static std::vector<int> alert_target_view_storage_ids_; |
437 | 437 |
438 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); | 438 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); |
439 }; | 439 }; |
440 | 440 |
441 } // namespace views | 441 } // namespace views |
442 | 442 |
443 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 443 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
OLD | NEW |