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

Unified Diff: content/shell/renderer/test_runner/accessibility_controller.cc

Issue 497273002: Switch to using WebSettings only for accessibilityEnabled and inlineTextBoxAccess (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | « content/renderer/accessibility/renderer_accessibility_complete.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/accessibility_controller.cc
diff --git a/content/shell/renderer/test_runner/accessibility_controller.cc b/content/shell/renderer/test_runner/accessibility_controller.cc
index ecdd604f383cdf665081988c50d26582af0f8c35..40f5d358c2f5b2e8db7b1294f8b4cd707066619a 100644
--- a/content/shell/renderer/test_runner/accessibility_controller.cc
+++ b/content/shell/renderer/test_runner/accessibility_controller.cc
@@ -147,10 +147,7 @@ void AccessibilityController::Reset() {
}
void AccessibilityController::Install(blink::WebFrame* frame) {
- blink::WebAXObject::enableAccessibility();
frame->view()->settings()->setAccessibilityEnabled(true);
-
- blink::WebAXObject::enableInlineTextBoxAccessibility();
frame->view()->settings()->setInlineTextBoxAccessibilityEnabled(true);
AccessibilityControllerBindings::Install(weak_factory_.GetWeakPtr(), frame);
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_complete.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698