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

Unified Diff: ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: Created 3 years, 9 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
Index: ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
diff --git a/ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc b/ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
index f84fe43f372ebd7e8dea5c9ec0453a6dfb5e6e85..ff23f8911f85d64c788581f06004eadee7bcf68a 100644
--- a/ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
+++ b/ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
@@ -7,9 +7,9 @@
#include "ash/common/ash_layout_constants.h"
#include "ash/common/frame/caption_buttons/frame_caption_button.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/common/wm_shell.h"
#include "ash/resources/grit/ash_resources.h"
#include "ash/resources/vector_icons/vector_icons.h"
+#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/widget/widget.h"
@@ -165,7 +165,7 @@ TEST_F(FrameCaptionButtonContainerViewTest,
// Hidden size button should result in minimize button animating to the
// right. The size button should not be visible, but should not have moved.
- WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
+ Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
true);
container.UpdateSizeButtonVisibility();
test.EndAnimations();
@@ -185,7 +185,7 @@ TEST_F(FrameCaptionButtonContainerViewTest,
// Revealing the size button should cause the minimize button to return to its
// original position.
- WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
+ Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
false);
container.UpdateSizeButtonVisibility();
// Calling code needs to layout in response to size change.

Powered by Google App Engine
This is Rietveld 408576698