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

Unified Diff: content/browser/accessibility/android_granularity_movement_browsertest.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: address comments Created 3 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: content/browser/accessibility/android_granularity_movement_browsertest.cc
diff --git a/content/browser/accessibility/android_granularity_movement_browsertest.cc b/content/browser/accessibility/android_granularity_movement_browsertest.cc
index d6152efd663c33641f913c6c573b48781bfd2735..04105b266ae33d09de6fa29299793370f5e2e81c 100644
--- a/content/browser/accessibility/android_granularity_movement_browsertest.cc
+++ b/content/browser/accessibility/android_granularity_movement_browsertest.cc
@@ -39,9 +39,9 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest {
NavigateToURL(shell(), GURL(url::kAboutBlankURL));
// Load the page.
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ACCESSIBILITY_MODE_COMPLETE,
- ui::AX_EVENT_LOAD_COMPLETE);
+ AccessibilityNotificationWaiter waiter(shell()->web_contents(),
+ AccessibilityMode::kComplete,
+ ui::AX_EVENT_LOAD_COMPLETE);
NavigateToURL(shell(), url);
waiter.WaitForNotification();
@@ -69,9 +69,9 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest {
base::string16 TraverseNodeAtGranularity(
BrowserAccessibility* node,
int granularity) {
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ACCESSIBILITY_MODE_COMPLETE,
- ui::AX_EVENT_TREE_CHANGED);
+ AccessibilityNotificationWaiter waiter(shell()->web_contents(),
+ AccessibilityMode::kComplete,
+ ui::AX_EVENT_TREE_CHANGED);
node->manager()->SetAccessibilityFocus(*node);
waiter.WaitForNotification();

Powered by Google App Engine
This is Rietveld 408576698