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

Unified Diff: ash/wm/frame_painter_unittest.cc

Issue 16093036: Do not create a workspace for a maximized window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test failure Created 7 years, 6 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 | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter_unittest.cc
diff --git a/ash/wm/frame_painter_unittest.cc b/ash/wm/frame_painter_unittest.cc
index 3c9d55ce158182525f68a14b4fb6366cadb615e0..c81ca7cd73bcc3594728b3002734dc9144c03b49 100644
--- a/ash/wm/frame_painter_unittest.cc
+++ b/ash/wm/frame_painter_unittest.cc
@@ -305,17 +305,6 @@ TEST_F(FramePainterTest, UseSoloWindowHeader) {
w2->Show();
EXPECT_FALSE(p1.UseSoloWindowHeader());
- // Maximize the window, then activate the first window. The second window
- // is in its own workspace, so solo should be active for the first one.
- w2->Maximize();
- w1->Activate();
- EXPECT_TRUE(p1.UseSoloWindowHeader());
-
- // Switch to the second window and restore it. Solo should be disabled.
- w2->Activate();
- w2->Restore();
- EXPECT_FALSE(p2.UseSoloWindowHeader());
-
// Minimize the second window. Solo should be enabled.
w2->Minimize();
EXPECT_TRUE(p1.UseSoloWindowHeader());
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698