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

Unified Diff: ash/wm/overview/window_selector_unittest.cc

Issue 55363004: Enables docked windows by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enables docked window flag by default (comments) Created 7 years, 1 month 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: ash/wm/overview/window_selector_unittest.cc
diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
index ba179610daa9d238d2647f7a1b1f68e160822f07..375b7e47bbab586ccc6b2e69642806bd9e94ba8c 100644
--- a/ash/wm/overview/window_selector_unittest.cc
+++ b/ash/wm/overview/window_selector_unittest.cc
@@ -790,8 +790,7 @@ TEST_F(WindowSelectorTest, CycleMultipleDisplaysCopiesWindows) {
unmoved1->SetName("unmoved1");
unmoved2->SetName("unmoved2");
moved1->SetName("moved1");
- moved1->SetProperty(aura::client::kModalKey,
- ui::MODAL_TYPE_WINDOW);
+ moved1->SetProperty(aura::client::kModalKey, ui::MODAL_TYPE_WINDOW);
moved1_trans_parent->AddTransientChild(moved1.get());
moved1_trans_parent->SetName("moved1_trans_parent");
@@ -830,9 +829,10 @@ TEST_F(WindowSelectorTest, CycleMultipleDisplaysCopiesWindows) {
// Verify that the bounds and transform of the copy match the original window
// but that it is on the other root window.
EXPECT_EQ(root_windows[1], copy1->GetRootWindow());
- EXPECT_EQ(moved1->GetBoundsInScreen(), copy1->GetBoundsInScreen());
- EXPECT_EQ(moved1->layer()->GetTargetTransform(),
- copy1->layer()->GetTargetTransform());
+ EXPECT_EQ(moved1->GetBoundsInScreen().ToString(),
+ copy1->GetBoundsInScreen().ToString());
+ EXPECT_EQ(moved1->layer()->GetTargetTransform().ToString(),
+ copy1->layer()->GetTargetTransform().ToString());
StopCycling();
// After cycling the copy windows should have been destroyed.

Powered by Google App Engine
This is Rietveld 408576698