ash: Fix chromeos build by adding missing wm:: for focus_cycler_unittest.cc
This file was added after I sent my previous patch to trybots hence why it broke.
BUG=115846
[email protected]
Review URL: https://chromiumcodereview.appspot.com/9447101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123731 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ash/focus_cycler_unittest.cc b/ash/focus_cycler_unittest.cc
index 2642182..f878503 100644
--- a/ash/focus_cycler_unittest.cc
+++ b/ash/focus_cycler_unittest.cc
@@ -32,12 +32,12 @@
ash::Shell::GetInstance()->GetContainer(
internal::kShellWindowId_DefaultContainer);
scoped_ptr<Window> window0(CreateTestWindowWithId(0, default_container));
- ActivateWindow(window0.get());
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ wm::ActivateWindow(window0.get());
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
// Cycle the window
focus_cycler->RotateFocus(FocusCycler::FORWARD);
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
}
TEST_F(FocusCyclerTest, CycleFocusForward) {
@@ -65,8 +65,8 @@
ash::Shell::GetInstance()->GetContainer(
internal::kShellWindowId_DefaultContainer);
scoped_ptr<Window> window0(CreateTestWindowWithId(0, default_container));
- ActivateWindow(window0.get());
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ wm::ActivateWindow(window0.get());
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
// Cycle focus to the status area
focus_cycler->RotateFocus(FocusCycler::FORWARD);
@@ -78,7 +78,7 @@
// Cycle focus to the browser
focus_cycler->RotateFocus(FocusCycler::FORWARD);
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
}
TEST_F(FocusCyclerTest, CycleFocusBackward) {
@@ -106,8 +106,8 @@
ash::Shell::GetInstance()->GetContainer(
internal::kShellWindowId_DefaultContainer);
scoped_ptr<Window> window0(CreateTestWindowWithId(0, default_container));
- ActivateWindow(window0.get());
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ wm::ActivateWindow(window0.get());
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
// Cycle focus to the launcher
focus_cycler->RotateFocus(FocusCycler::BACKWARD);
@@ -119,7 +119,7 @@
// Cycle focus to the browser
focus_cycler->RotateFocus(FocusCycler::BACKWARD);
- EXPECT_TRUE(IsActiveWindow(window0.get()));
+ EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
}
} // namespace test