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

Unified Diff: ash/common/frame/custom_frame_view_ash_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/custom_frame_view_ash_unittest.cc
diff --git a/ash/common/frame/custom_frame_view_ash_unittest.cc b/ash/common/frame/custom_frame_view_ash_unittest.cc
index b5729ef394f1f4fd3cf4a9cd5cfe7ceb373e1872..08b76d035689d3b94ffc2a4a7ad48f601a4f9c44 100644
--- a/ash/common/frame/custom_frame_view_ash_unittest.cc
+++ b/ash/common/frame/custom_frame_view_ash_unittest.cc
@@ -12,6 +12,7 @@
#include "ash/common/test/test_session_state_delegate.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/image/image_skia.h"
@@ -210,13 +211,13 @@ TEST_F(CustomFrameViewAshTest, HeaderViewNotifiedOfChildSizeChange) {
const gfx::Rect initial =
delegate->GetFrameCaptionButtonContainerViewBounds();
- WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
+ Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
true);
delegate->EndFrameCaptionButtonContainerViewAnimations();
const gfx::Rect maximize_mode_bounds =
delegate->GetFrameCaptionButtonContainerViewBounds();
EXPECT_GT(initial.width(), maximize_mode_bounds.width());
- WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
+ Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
false);
delegate->EndFrameCaptionButtonContainerViewAnimations();
const gfx::Rect after_restore =

Powered by Google App Engine
This is Rietveld 408576698