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

Unified Diff: ash/extended_desktop_unittest.cc

Issue 10700057: Add always on top windows to the alt+tab list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use most recently used windows. Created 8 years, 5 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
« no previous file with comments | « no previous file | ash/focus_cycler.cc » ('j') | ash/wm/window_cycle_controller.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/extended_desktop_unittest.cc
diff --git a/ash/extended_desktop_unittest.cc b/ash/extended_desktop_unittest.cc
index d4cce054474101e1f742ef6210ff3e9203d75a74..2f0ce956f4970bad1ded9f878ad958e9bf2a865e 100644
--- a/ash/extended_desktop_unittest.cc
+++ b/ash/extended_desktop_unittest.cc
@@ -215,10 +215,10 @@ TEST_F(ExtendedDesktopTest, CycleWindows) {
EXPECT_EQ(root_windows[1], d2_w2->GetNativeView()->GetRootWindow());
controller->HandleCycleWindow(WindowCycleController::FORWARD, true);
- EXPECT_TRUE(wm::IsActiveWindow(d2_w1->GetNativeView()));
- controller->HandleCycleWindow(WindowCycleController::FORWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d1_w2->GetNativeView()));
controller->HandleCycleWindow(WindowCycleController::FORWARD, true);
+ EXPECT_TRUE(wm::IsActiveWindow(d2_w1->GetNativeView()));
+ controller->HandleCycleWindow(WindowCycleController::FORWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d1_w1->GetNativeView()));
controller->HandleCycleWindow(WindowCycleController::FORWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d2_w2->GetNativeView()));
@@ -227,10 +227,10 @@ TEST_F(ExtendedDesktopTest, CycleWindows) {
controller->HandleCycleWindow(WindowCycleController::BACKWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d1_w1->GetNativeView()));
controller->HandleCycleWindow(WindowCycleController::BACKWARD, true);
- EXPECT_TRUE(wm::IsActiveWindow(d1_w2->GetNativeView()));
- controller->HandleCycleWindow(WindowCycleController::BACKWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d2_w1->GetNativeView()));
controller->HandleCycleWindow(WindowCycleController::BACKWARD, true);
+ EXPECT_TRUE(wm::IsActiveWindow(d1_w2->GetNativeView()));
+ controller->HandleCycleWindow(WindowCycleController::BACKWARD, true);
EXPECT_TRUE(wm::IsActiveWindow(d2_w2->GetNativeView()));
internal::DisplayController::SetVirtualScreenCoordinatesEnabled(false);
}
« no previous file with comments | « no previous file | ash/focus_cycler.cc » ('j') | ash/wm/window_cycle_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698