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

Unified Diff: ui/accessibility/platform/ax_platform_node_delegate.h

Issue 2943243002: Forward BrowserAccessibility get_accState to AXPlatformNode. (Closed)
Patch Set: Mask out focus changes when determining if we should broadcast EVENT_OBJECT_STATECHANGE 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/platform/ax_fake_caret_win.cc ('k') | ui/accessibility/platform/ax_platform_node_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node_delegate.h
diff --git a/ui/accessibility/platform/ax_platform_node_delegate.h b/ui/accessibility/platform/ax_platform_node_delegate.h
index 11cf9cec58f6d38f2b0b52a7daeef61dcb4fc04e..9ef5a00dc7938d3e14985de21f6f844a701b232d 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -88,6 +88,16 @@ class AX_EXPORT AXPlatformNodeDelegate {
// Perform an accessibility action, switching on the ui::AXAction
// provided in |data|.
virtual bool AccessibilityPerformAction(const ui::AXActionData& data) = 0;
+
+ //
+ // Testing.
+ //
+
+ // Accessibility objects can have the "hot tracked" state set when
+ // the mouse is hovering over them, but this makes tests flaky because
+ // the test behaves differently when the mouse happens to be over an
+ // element. The default value should be falses if not in testing mode.
+ virtual bool ShouldIgnoreHoveredStateForTesting() = 0;
};
} // namespace ui
« no previous file with comments | « ui/accessibility/platform/ax_fake_caret_win.cc ('k') | ui/accessibility/platform/ax_platform_node_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698