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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.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: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
index 931f739ea4a987e8e28d5cbdaafd0387c27344da..461c6f9dfb19600a58bde515ecf2667e30a781a3 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
@@ -8,7 +8,6 @@
#include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h"
#include "ash/common/frame/header_painter.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "ash/test/immersive_fullscreen_controller_test_api.h"
#include "base/command_line.h"
@@ -275,7 +274,7 @@ IN_PROC_BROWSER_TEST_F(BrowserNonClientFrameViewAshTest,
widget->non_client_view()->frame_view());
const gfx::Rect initial = frame_view->caption_button_container_->bounds();
- ash::WmShell::Get()
+ ash::Shell::Get()
->maximize_mode_controller()
->EnableMaximizeModeWindowManager(true);
ash::FrameCaptionButtonContainerView::TestApi test(frame_view->
@@ -284,7 +283,7 @@ IN_PROC_BROWSER_TEST_F(BrowserNonClientFrameViewAshTest,
const gfx::Rect during_maximize = frame_view->caption_button_container_->
bounds();
EXPECT_GT(initial.width(), during_maximize.width());
- ash::WmShell::Get()
+ ash::Shell::Get()
->maximize_mode_controller()
->EnableMaximizeModeWindowManager(false);
test.EndAnimations();
« no previous file with comments | « chrome/browser/ui/ash/window_positioner_unittest.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698