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

Unified 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 side-by-side diff with in-line comments
Download patch
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 6960a4444e7f197317eead6e26a3a84c74405490..7629ea5bab609a7ae30e7ca43f32ebe10dec98d1 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -84,6 +84,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

Powered by Google App Engine
This is Rietveld 408576698