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 |