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

Unified Diff: content/browser/accessibility/android_granularity_movement_browsertest.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/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..4e7d6eb2d1fd12a6b5ad82602a5f0772526d8a5c 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(),
+ kAccessibilityModeComplete,
+ 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(),
+ kAccessibilityModeComplete,
+ ui::AX_EVENT_TREE_CHANGED);
node->manager()->SetAccessibilityFocus(*node);
waiter.WaitForNotification();

Powered by Google App Engine
This is Rietveld 408576698