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

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

Issue 2913553003: Forward BrowserAccessibility accSelect() to AXPlatformNode. (Closed)
Patch Set: Drop passing node id to AccessibilityPerformAction 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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_com_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_com_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698