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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 2474363002: MacViews/a11y: Accessibility actions use AXActionData in AXPlatformNodeDelegate. (Closed)
Patch Set: Review comments. Created 4 years, 1 month 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: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
index df37982e1c914eec4ad549a9490ffa8fd20c232a..ba6484060e9e5b1bc0fb741aadcb7aa5bfa9da73 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
@@ -92,7 +92,7 @@ void AutomationManagerAura::PerformAction(
case ui::AX_ACTION_DO_DEFAULT:
current_tree_->DoDefault(data.target_node_id);
break;
- case ui::AX_ACTION_SET_FOCUS:
+ case ui::AX_ACTION_FOCUS:
current_tree_->Focus(data.target_node_id);
break;
case ui::AX_ACTION_SCROLL_TO_MAKE_VISIBLE:
@@ -115,6 +115,7 @@ void AutomationManagerAura::PerformAction(
case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT:
// Sent by ChromeVox but doesn't need to be handled by aura.
break;
+ case ui::AX_ACTION_BLUR:
case ui::AX_ACTION_DECREMENT:
case ui::AX_ACTION_HIT_TEST:
case ui::AX_ACTION_INCREMENT:

Powered by Google App Engine
This is Rietveld 408576698