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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_delegate.h

Issue 2913553002: Forward BrowserAccessibility get_accState to AXPlatformNode. (Closed)
Patch Set: rename and switch boolean values Created 3 years, 6 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // for accessibility events. 77 // for accessibility events.
78 virtual gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() = 0; 78 virtual gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() = 0;
79 79
80 // 80 //
81 // Actions. 81 // Actions.
82 // 82 //
83 83
84 // Perform an accessibility action, switching on the ui::AXAction 84 // Perform an accessibility action, switching on the ui::AXAction
85 // provided in |data|. 85 // provided in |data|.
86 virtual bool AccessibilityPerformAction(const ui::AXActionData& data) = 0; 86 virtual bool AccessibilityPerformAction(const ui::AXActionData& data) = 0;
87
88 //
89 // Testing.
90 //
91
92 // Accessibility objects can have the "hot tracked" state set when
93 // the mouse is hovering over them, but this makes tests flaky because
94 // the test behaves differently when the mouse happens to be over an
95 // element. The default value should be falses if not in testing mode.
96 virtual bool ShouldIgnoreHoveredStateForTesting() = 0;
87 }; 97 };
88 98
89 } // namespace ui 99 } // namespace ui
90 100
91 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ 101 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698