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

Unified Diff: chrome/browser/chrome_browser_application_mac.mm

Issue 12335101: Move some accessibility methods, enums and interfaces into the content/public API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 7 years, 10 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 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];

Powered by Google App Engine
This is Rietveld 408576698