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

Unified Diff: ui/views/view.cc

Issue 2803823002: Fix Chrome OS virtual keyboard accessibility (Closed)
Patch Set: Created 3 years, 8 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/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 83192d8c93df41d122c633fa68f89130182ba0cb..9850583bc52f7d167ef95e01b6d8da61dab0c97a 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1423,6 +1423,9 @@ bool View::HandleAccessibleAction(const ui::AXActionData& action_data) {
return true;
}
break;
+ case ui::AX_ACTION_HIT_TEST:
+ NotifyAccessibilityEvent(action_data.hit_test_event_to_fire, true);
+ return true;
case ui::AX_ACTION_SCROLL_TO_MAKE_VISIBLE:
ScrollRectToVisible(GetLocalBounds());
return true;

Powered by Google App Engine
This is Rietveld 408576698