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

Unified Diff: chrome/browser/chrome_browser_application_mac.mm

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/chrome_browser_application_mac.mm
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index 3368c06351486e4ff3bf4657a30be1c00d1b420f..c48d6cc9f29858e75afb2554cc6754b14dd48e21 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -538,11 +538,6 @@ void SwizzleInit() {
if ([attribute isEqualToString:@"AXEnhancedUserInterface"] &&
[value intValue] == 1) {
content::BrowserAccessibilityState::GetInstance()->OnScreenReaderDetected();
- for (TabContentsIterator it; !it.done(); it.Next()) {
nasko 2014/05/12 17:28:01 There doesn't seem to be updated version of this c
dmazzoni 2014/05/13 06:36:52 This is intentional. BrowserAccessibilityState doe
- if (content::WebContents* contents = *it)
- if (content::RenderViewHost* rvh = contents->GetRenderViewHost())
- rvh->EnableFullAccessibilityMode();
- }
}
return [super accessibilitySetValue:value forAttribute:attribute];
}

Powered by Google App Engine
This is Rietveld 408576698