| 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 27 matching lines...) Expand all Loading... |
| 38 void NotifyAccessibilityEvent(ui::AXEvent event_type) override; | 38 void NotifyAccessibilityEvent(ui::AXEvent event_type) override; |
| 39 | 39 |
| 40 // ui::AXPlatformNodeDelegate | 40 // ui::AXPlatformNodeDelegate |
| 41 const ui::AXNodeData& GetData() const override; | 41 const ui::AXNodeData& GetData() const override; |
| 42 const ui::AXTreeData& GetTreeData() const override; | 42 const ui::AXTreeData& GetTreeData() const override; |
| 43 int GetChildCount() override; | 43 int GetChildCount() override; |
| 44 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 44 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
| 45 gfx::NativeWindow GetTopLevelWidget() override; | 45 gfx::NativeWindow GetTopLevelWidget() override; |
| 46 gfx::NativeViewAccessible GetParent() override; | 46 gfx::NativeViewAccessible GetParent() override; |
| 47 gfx::Rect GetScreenBoundsRect() const override; | 47 gfx::Rect GetScreenBoundsRect() const override; |
| 48 ui::TextInputClient* GetTextInputClient() const override; |
| 48 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 49 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
| 49 gfx::NativeViewAccessible GetFocus() override; | 50 gfx::NativeViewAccessible GetFocus() override; |
| 50 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 51 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
| 51 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 52 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
| 52 | 53 |
| 53 // WidgetObserver | 54 // WidgetObserver |
| 54 void OnWidgetDestroying(Widget* widget) override; | 55 void OnWidgetDestroying(Widget* widget) override; |
| 55 | 56 |
| 56 Widget* parent_widget() const { return parent_widget_; } | 57 Widget* parent_widget() const { return parent_widget_; } |
| 57 void SetParentWidget(Widget* parent_widget); | 58 void SetParentWidget(Widget* parent_widget); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 78 ui::AXPlatformNode* ax_node_; | 79 ui::AXPlatformNode* ax_node_; |
| 79 | 80 |
| 80 mutable ui::AXNodeData data_; | 81 mutable ui::AXNodeData data_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase); | 83 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace views | 86 } // namespace views |
| 86 | 87 |
| 87 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ | 88 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ |
| OLD | NEW |