Index: chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc |
diff --git a/chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc b/chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc |
index 84b049a66adb91088f77c411ab630a73f46a8ec3..d2e5bf4b25e0231244e4cf254e988cbb0f64e4ac 100644 |
--- a/chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc |
+++ b/chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc |
@@ -25,11 +25,11 @@ bool IsMagnifierEnabled() { |
return MagnificationManager::Get()->IsMagnifierEnabled(); |
} |
-ui::MagnifierType GetMagnifierType() { |
+ash::MagnifierType GetMagnifierType() { |
return MagnificationManager::Get()->GetMagnifierType(); |
} |
-void SetMagnifierType(ui::MagnifierType type) { |
+void SetMagnifierType(ash::MagnifierType type) { |
return MagnificationManager::Get()->SetMagnifierType(type); |
} |
@@ -58,19 +58,19 @@ class MagnificationManagerTest : public ash::test::AshTestBase { |
TEST_F(MagnificationManagerTest, ChangeType) { |
// Set full screen magnifier, and confirm the status is set successfully. |
EnableMagnifier(); |
- SetMagnifierType(ui::MAGNIFIER_FULL); |
+ SetMagnifierType(ash::MAGNIFIER_FULL); |
EXPECT_TRUE(IsMagnifierEnabled()); |
- EXPECT_EQ(GetMagnifierType(), ui::MAGNIFIER_FULL); |
+ EXPECT_EQ(GetMagnifierType(), ash::MAGNIFIER_FULL); |
// Set partial screen magnifier, and confirm the change is ignored. |
- SetMagnifierType(ui::MAGNIFIER_PARTIAL); |
+ SetMagnifierType(ash::MAGNIFIER_PARTIAL); |
EXPECT_TRUE(IsMagnifierEnabled()); |
- EXPECT_EQ(GetMagnifierType(), ui::MAGNIFIER_FULL); |
+ EXPECT_EQ(GetMagnifierType(), ash::MAGNIFIER_FULL); |
// Disables magnifier, and confirm the status is set successfully. |
DisableMagnifier(); |
EXPECT_FALSE(IsMagnifierEnabled()); |
- EXPECT_EQ(GetMagnifierType(), ui::MAGNIFIER_FULL); |
+ EXPECT_EQ(GetMagnifierType(), ash::MAGNIFIER_FULL); |
} |
} // namespace chromeos |