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 f02ca0d51470c0f15c8460e22df9de017b4ee502..0cca8b3e44183adc543fcd8c300372bd5c9c2c18 100644 |
--- a/chrome/browser/chrome_browser_application_mac.mm |
+++ b/chrome/browser/chrome_browser_application_mac.mm |
@@ -20,6 +20,7 @@ |
#include "content/public/browser/browser_accessibility_state.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/accessibility_mode.h" |
jam
2013/02/27 19:35:50
nit: this seems redundant since by definition if y
aboxhall
2013/02/27 21:19:59
Fair enough. Removed.
|
// The implementation of NSExceptions break various assumptions in the |
// Chrome code. This category defines a replacement for |
@@ -504,7 +505,7 @@ void SwizzleInit() { |
for (TabContentsIterator it; !it.done(); it.Next()) { |
if (content::WebContents* contents = *it) |
if (content::RenderViewHost* rvh = contents->GetRenderViewHost()) |
- rvh->EnableFullAccessibilityMode(); |
+ rvh->SetAccessibilityMode(content::AccessibilityModeComplete); |
} |
} |
return [super accessibilitySetValue:value forAttribute:attribute]; |