OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BASE_H_ | 5 #ifndef UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ |
6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ | 6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 // NativeViewAccessibility: | 35 // NativeViewAccessibility: |
36 gfx::NativeViewAccessible GetNativeObject() override; | 36 gfx::NativeViewAccessible GetNativeObject() override; |
37 void NotifyAccessibilityEvent(ui::AXEvent event_type) override; | 37 void NotifyAccessibilityEvent(ui::AXEvent event_type) override; |
38 | 38 |
39 // ui::AXPlatformNodeDelegate | 39 // ui::AXPlatformNodeDelegate |
40 const ui::AXNodeData& GetData() const override; | 40 const ui::AXNodeData& GetData() const override; |
41 int GetChildCount() override; | 41 int GetChildCount() override; |
42 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 42 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
43 gfx::NativeWindow GetTopLevelWidget() override; | 43 gfx::NativeWindow GetTopLevelWidget() override; |
44 gfx::NativeViewAccessible GetParent() override; | 44 gfx::NativeViewAccessible GetParent() override; |
45 gfx::Vector2d GetGlobalCoordinateOffset() override; | 45 gfx::Rect GetScreenBoundsRect() const override; |
46 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 46 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
47 gfx::NativeViewAccessible GetFocus() override; | 47 gfx::NativeViewAccessible GetFocus() override; |
48 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 48 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
49 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 49 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
50 | 50 |
51 // WidgetObserver | 51 // WidgetObserver |
52 void OnWidgetDestroying(Widget* widget) override; | 52 void OnWidgetDestroying(Widget* widget) override; |
53 | 53 |
54 Widget* parent_widget() const { return parent_widget_; } | 54 Widget* parent_widget() const { return parent_widget_; } |
55 void SetParentWidget(Widget* parent_widget); | 55 void SetParentWidget(Widget* parent_widget); |
(...skipping 20 matching lines...) Expand all Loading... |
76 ui::AXPlatformNode* ax_node_; | 76 ui::AXPlatformNode* ax_node_; |
77 | 77 |
78 mutable ui::AXNodeData data_; | 78 mutable ui::AXNodeData data_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase); | 80 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace views | 83 } // namespace views |
84 | 84 |
85 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ | 85 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ |
OLD | NEW |