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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: merge Created 3 years, 9 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: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 38e9043e03b306aef25f655374958b8132cc9396..3619a9a20448e584ace356e32a336283030d6a08 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -1038,7 +1038,7 @@ bool WaitForRenderFrameReady(RenderFrameHost* rfh) {
void EnableAccessibilityForWebContents(WebContents* web_contents) {
WebContentsImpl* web_contents_impl =
static_cast<WebContentsImpl*>(web_contents);
- web_contents_impl->SetAccessibilityMode(ACCESSIBILITY_MODE_COMPLETE);
+ web_contents_impl->SetAccessibilityMode(kAccessibilityModeComplete);
}
void WaitForAccessibilityFocusChange() {
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/accessibility/blink_ax_tree_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698