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

Unified Diff: trunk/src/chrome/browser/chrome_browser_application_mac.mm

Issue 408663006: Revert 284065 "Revert of Revert of Migrate accessibility from Re..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | trunk/src/chrome/browser/extensions/api/automation/automation_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/chrome_browser_application_mac.mm
===================================================================
--- trunk/src/chrome/browser/chrome_browser_application_mac.mm (revision 284469)
+++ trunk/src/chrome/browser/chrome_browser_application_mac.mm (working copy)
@@ -538,6 +538,11 @@
if ([attribute isEqualToString:@"AXEnhancedUserInterface"] &&
[value intValue] == 1) {
content::BrowserAccessibilityState::GetInstance()->OnScreenReaderDetected();
+ for (TabContentsIterator it; !it.done(); it.Next()) {
+ if (content::WebContents* contents = *it)
+ if (content::RenderViewHost* rvh = contents->GetRenderViewHost())
+ rvh->EnableFullAccessibilityMode();
+ }
}
return [super accessibilitySetValue:value forAttribute:attribute];
}
« no previous file with comments | « no previous file | trunk/src/chrome/browser/extensions/api/automation/automation_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698