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

Unified Diff: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc

Issue 2078393005: mash: Move accessibility_types.h from ui namespace to ash namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a11y
Patch Set: fix chromevox code generated from js Created 4 years, 6 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: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
diff --git a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
index 1646e997a0bd127e355876e6c91f6601d3450a2b..a260551ce0604ae659799e3d81ac2224bee0d2e7 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
@@ -6,6 +6,7 @@
#include "ash/accelerators/accelerator_controller.h"
#include "ash/accelerators/accelerator_table.h"
+#include "ash/common/accessibility_types.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray.h"
#include "base/command_line.h"
@@ -121,7 +122,7 @@ class LoggedInSpokenFeedbackTest : public InProcessBrowserTest {
ASSERT_FALSE(AccessibilityManager::Get()->IsSpokenFeedbackEnabled());
AccessibilityManager::Get()->EnableSpokenFeedback(
- true, ui::A11Y_NOTIFICATION_NONE);
+ true, ash::A11Y_NOTIFICATION_NONE);
EXPECT_TRUE(speech_monitor_.SkipChromeVoxEnabledMessage());
DisableEarcons();
}
@@ -145,7 +146,7 @@ class LoggedInSpokenFeedbackTest : public InProcessBrowserTest {
"</script>"));
EXPECT_FALSE(AccessibilityManager::Get()->IsSpokenFeedbackEnabled());
AccessibilityManager::Get()->EnableSpokenFeedback(
- true, ui::A11Y_NOTIFICATION_NONE);
+ true, ash::A11Y_NOTIFICATION_NONE);
// Block until we get "ready".
while (speech_monitor_.GetNextUtterance() != "ready") {
@@ -710,7 +711,7 @@ IN_PROC_BROWSER_TEST_F(OobeSpokenFeedbackTest, DISABLED_SpokenFeedbackInOobe) {
// so make sure that's the case.
js_checker().ExecuteAsync("$('language-select').focus()");
AccessibilityManager::Get()->EnableSpokenFeedback(
- true, ui::A11Y_NOTIFICATION_NONE);
+ true, ash::A11Y_NOTIFICATION_NONE);
ASSERT_TRUE(speech_monitor_.SkipChromeVoxEnabledMessage());
// There's no guarantee that ChromeVox speaks anything when injected after
// the page loads, which is by design. Tab forward and then backward

Powered by Google App Engine
This is Rietveld 408576698