| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index b30bd2c466f234c519bc63a2f5268f4a2d8f1738..6aa46a90c6ec0d32891b7b3da81641f7495c271e 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -157,13 +157,13 @@
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/accelerators/accelerator_controller.h"
|
| #include "ash/accelerators/accelerator_table.h"
|
| -#include "ash/magnifier/magnifier_constants.h"
|
| #include "ash/shell.h"
|
| #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
|
| #include "chrome/browser/chromeos/accessibility/magnification_manager.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/ui/ash/screenshot_taker.h"
|
| #include "chromeos/audio/cras_audio_handler.h"
|
| +#include "ui/chromeos/accessibility_types.h"
|
| #include "ui/keyboard/keyboard_util.h"
|
| #endif
|
|
|
| @@ -2688,7 +2688,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, SpokenFeedbackEnabled) {
|
|
|
| // Manually enable spoken feedback.
|
| accessibility_manager->EnableSpokenFeedback(
|
| - true, ash::A11Y_NOTIFICATION_NONE);
|
| + true, ui::A11Y_NOTIFICATION_NONE);
|
| EXPECT_TRUE(accessibility_manager->IsSpokenFeedbackEnabled());
|
|
|
| // Verify that policy overrides the manual setting.
|
| @@ -2703,7 +2703,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, SpokenFeedbackEnabled) {
|
|
|
| // Verify that spoken feedback cannot be enabled manually anymore.
|
| accessibility_manager->EnableSpokenFeedback(
|
| - true, ash::A11Y_NOTIFICATION_NONE);
|
| + true, ui::A11Y_NOTIFICATION_NONE);
|
| EXPECT_FALSE(accessibility_manager->IsSpokenFeedbackEnabled());
|
| }
|
|
|
| @@ -2738,9 +2738,9 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, ScreenMagnifierTypeNone) {
|
| chromeos::MagnificationManager::Get();
|
|
|
| // Manually enable the full-screen magnifier.
|
| - magnification_manager->SetMagnifierType(ash::MAGNIFIER_FULL);
|
| + magnification_manager->SetMagnifierType(ui::MAGNIFIER_FULL);
|
| magnification_manager->SetMagnifierEnabled(true);
|
| - EXPECT_EQ(ash::MAGNIFIER_FULL, magnification_manager->GetMagnifierType());
|
| + EXPECT_EQ(ui::MAGNIFIER_FULL, magnification_manager->GetMagnifierType());
|
| EXPECT_TRUE(magnification_manager->IsMagnifierEnabled());
|
|
|
| // Verify that policy overrides the manual setting.
|
| @@ -2771,10 +2771,10 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, ScreenMagnifierTypeFull) {
|
| policies.Set(key::kScreenMagnifierType,
|
| POLICY_LEVEL_MANDATORY,
|
| POLICY_SCOPE_USER,
|
| - new base::FundamentalValue(ash::MAGNIFIER_FULL),
|
| + new base::FundamentalValue(ui::MAGNIFIER_FULL),
|
| NULL);
|
| UpdateProviderPolicy(policies);
|
| - EXPECT_EQ(ash::MAGNIFIER_FULL, magnification_manager->GetMagnifierType());
|
| + EXPECT_EQ(ui::MAGNIFIER_FULL, magnification_manager->GetMagnifierType());
|
| EXPECT_TRUE(magnification_manager->IsMagnifierEnabled());
|
|
|
| // Verify that the screen magnifier cannot be disabled manually anymore.
|
|
|