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

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

Issue 2550413004: Remove Ash shelf dimmer. (Closed)
Patch Set: jamescook review Created 4 years 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39dab4f97b04be5f64fb366dd6e9d5417aaa9b11..4be3a098bb8b4ca49a2c5c112580650f761bf76b 100644
--- a/ash/wm/overview/window_selector_unittest.cc
+++ b/ash/wm/overview/window_selector_unittest.cc
@@ -1162,21 +1162,6 @@ TEST_F(WindowSelectorTest, FullscreenWindow) {
EXPECT_TRUE(wm::GetWindowState(window1.get())->IsFullscreen());
}
-// Tests that the shelf dimming state is removed while in overview and restored
-// on exiting overview.
-TEST_F(WindowSelectorTest, OverviewUndimsShelf) {
- gfx::Rect bounds(0, 0, 400, 400);
- std::unique_ptr<aura::Window> window1(CreateWindow(bounds));
- wm::WindowState* window_state = wm::GetWindowState(window1.get());
- window_state->Maximize();
- ShelfWidget* shelf = GetPrimaryShelf()->shelf_widget();
- EXPECT_TRUE(shelf->GetDimsShelf());
- ToggleOverview();
- EXPECT_FALSE(shelf->GetDimsShelf());
- ToggleOverview();
- EXPECT_TRUE(shelf->GetDimsShelf());
-}
-
// Tests that entering overview when a fullscreen window is active in maximized
// mode correctly applies the transformations to the window and correctly
// updates the window bounds on exiting overview mode: http://crbug.com/401664.
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698