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

Unified Diff: content/browser/accessibility/browser_accessibility.cc

Issue 2913553003: Forward BrowserAccessibility accSelect() to AXPlatformNode. (Closed)
Patch Set: Respond true since we handled the event Created 3 years, 7 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: content/browser/accessibility/browser_accessibility.cc
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
index 00b6605ed91cdf60edd05e799b8eb99de9b82c6b..b6f603b95f409ec5e9cb0813e7322b28b22fdc34 100644
--- a/content/browser/accessibility/browser_accessibility.cc
+++ b/content/browser/accessibility/browser_accessibility.cc
@@ -1218,6 +1218,11 @@ bool BrowserAccessibility::AccessibilityPerformAction(
return true;
}
+ if (data.action == ui::AX_ACTION_FOCUS) {
+ manager_->SetFocus(*this);
+ return true;
+ }
+
return false;
}

Powered by Google App Engine
This is Rietveld 408576698