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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_
7 7
8 #include "ui/accessibility/ax_enums.h" 8 #include "ui/accessibility/ax_enums.h"
9 #include "ui/accessibility/ax_export.h" 9 #include "ui/accessibility/ax_export.h"
10 #include "ui/gfx/geometry/vector2d.h" 10 #include "ui/gfx/geometry/vector2d.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // only an immediate child and not the deepest descendant. 66 // only an immediate child and not the deepest descendant.
67 // 67 //
68 // This function is mainly used by accessibility debugging software. 68 // This function is mainly used by accessibility debugging software.
69 // Platforms with touch accessibility use a different asynchronous interface. 69 // Platforms with touch accessibility use a different asynchronous interface.
70 virtual gfx::NativeViewAccessible HitTestSync(int x, int y) = 0; 70 virtual gfx::NativeViewAccessible HitTestSync(int x, int y) = 0;
71 71
72 // Return the node within this node's subtree (inclusive) that currently 72 // Return the node within this node's subtree (inclusive) that currently
73 // has focus. 73 // has focus.
74 virtual gfx::NativeViewAccessible GetFocus() = 0; 74 virtual gfx::NativeViewAccessible GetFocus() = 0;
75 75
76 virtual ui::AXPlatformNode* GetFromNodeID(int32_t id) = 0;
77
76 // 78 //
77 // Events. 79 // Events.
78 // 80 //
79 81
80 // Return the platform-native GUI object that should be used as a target 82 // Return the platform-native GUI object that should be used as a target
81 // for accessibility events. 83 // for accessibility events.
82 virtual gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() = 0; 84 virtual gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() = 0;
83 85
84 // 86 //
85 // Actions. 87 // Actions.
(...skipping 10 matching lines...) Expand all
96 // Accessibility objects can have the "hot tracked" state set when 98 // Accessibility objects can have the "hot tracked" state set when
97 // the mouse is hovering over them, but this makes tests flaky because 99 // the mouse is hovering over them, but this makes tests flaky because
98 // the test behaves differently when the mouse happens to be over an 100 // the test behaves differently when the mouse happens to be over an
99 // element. The default value should be falses if not in testing mode. 101 // element. The default value should be falses if not in testing mode.
100 virtual bool ShouldIgnoreHoveredStateForTesting() = 0; 102 virtual bool ShouldIgnoreHoveredStateForTesting() = 0;
101 }; 103 };
102 104
103 } // namespace ui 105 } // namespace ui
104 106
105 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ 107 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_base.cc ('k') | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698