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

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

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: use param traits 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/touch_accessibility_aura_browsertest.cc
diff --git a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
index 70845e4f4fbe7bc72605f4df3446f16268847de7..f8c5959a5f599868f3e5e7334737395ec8571f32 100644
--- a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
+++ b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
@@ -34,10 +34,9 @@ class TouchAccessibilityBrowserTest : public ContentBrowserTest {
}
void NavigateToUrlAndWaitForAccessibilityTree(const GURL& url) {
- 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();
}
@@ -93,7 +92,7 @@ IN_PROC_BROWSER_TEST_F(TouchAccessibilityBrowserTest,
// touch exploration event in the center of that cell, and assert that we
// get an accessibility hover event fired in the correct cell.
AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ACCESSIBILITY_MODE_COMPLETE, ui::AX_EVENT_HOVER);
+ shell()->web_contents(), kAccessibilityModeComplete, ui::AX_EVENT_HOVER);
for (int row = 0; row < 5; ++row) {
for (int col = 0; col < 7; ++col) {
std::string expected_cell_text = base::IntToString(row * 7 + col);

Powered by Google App Engine
This is Rietveld 408576698