Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ui/views/accessibility/native_view_accessibility_base.h

Issue 2964313002: Converts accNavigate over to the AXPlatformNode code. (Closed)
Patch Set: are -> is Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 29 matching lines...) Expand all
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 gfx::NativeViewAccessible HitTestSync(int x, int y) override; 48 gfx::NativeViewAccessible HitTestSync(int x, int y) override;
49 gfx::NativeViewAccessible GetFocus() override; 49 gfx::NativeViewAccessible GetFocus() override;
50 ui::AXPlatformNode* GetFromNodeID(int32_t id) 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 bool ShouldIgnoreHoveredStateForTesting() override; 53 bool ShouldIgnoreHoveredStateForTesting() override;
53 54
54 // WidgetObserver 55 // WidgetObserver
55 void OnWidgetDestroying(Widget* widget) override; 56 void OnWidgetDestroying(Widget* widget) override;
56 57
57 Widget* parent_widget() const { return parent_widget_; } 58 Widget* parent_widget() const { return parent_widget_; }
58 void SetParentWidget(Widget* parent_widget); 59 void SetParentWidget(Widget* parent_widget);
59 60
(...skipping 19 matching lines...) Expand all
79 ui::AXPlatformNode* ax_node_; 80 ui::AXPlatformNode* ax_node_;
80 81
81 mutable ui::AXNodeData data_; 82 mutable ui::AXNodeData data_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase); 84 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityBase);
84 }; 85 };
85 86
86 } // namespace views 87 } // namespace views
87 88
88 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_ 89 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698