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 |