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

Unified Diff: ui/accessibility/ax_action_data.cc

Issue 2748463003: Generalize the HIT_TEST accessibility action so that it can send any event. (Closed)
Patch Set: Created 3 years, 9 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/ax_action_data.cc
diff --git a/ui/accessibility/ax_action_data.cc b/ui/accessibility/ax_action_data.cc
index 8b9dbbef3c6934b03b7e369d72d6eda5433f4713..b65fd2d6dd2ed094beb96677b06bbce4900f9539 100644
--- a/ui/accessibility/ax_action_data.cc
+++ b/ui/accessibility/ax_action_data.cc
@@ -22,8 +22,8 @@ AXActionData::AXActionData()
anchor_node_id(-1),
anchor_offset(-1),
focus_node_id(-1),
- focus_offset(-1) {
-}
+ focus_offset(-1),
+ hit_test_event_to_fire(AX_EVENT_NONE) {}
David Tseng 2017/03/13 21:43:47 Seems like this should default to hover. Alternati
dmazzoni 2017/03/20 05:40:40 I added a DCHECK. I'd rather we make it explicit.
AXActionData::AXActionData(const AXActionData& other) = default;

Powered by Google App Engine
This is Rietveld 408576698