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

Unified Diff: ash/wm/window_positioner.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/wm/window_positioner.cc
diff --git a/ash/wm/window_positioner.cc b/ash/wm/window_positioner.cc
index d604d914dae7f6f5157db56ef67e09e9f09858a9..691988b0eaee8c2bb888ee3059e8faaeb94b0ee5 100644
--- a/ash/wm/window_positioner.cc
+++ b/ash/wm/window_positioner.cc
@@ -5,12 +5,12 @@
#include "ash/wm/window_positioner.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/wm/mru_window_tracker.h"
#include "ash/wm/window_positioning_utils.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_util.h"
#include "ash/wm/wm_screen_util.h"
-#include "ash/wm_shell.h"
#include "ash/wm_window.h"
#include "ui/compositor/layer.h"
#include "ui/display/display.h"
@@ -237,7 +237,7 @@ void WindowPositioner::GetBoundsAndShowStateForNewWindow(
if (show_state_in == ui::SHOW_STATE_DEFAULT) {
const bool maximize_first_window_on_first_run =
- target->GetShell()->IsForceMaximizeOnFirstRun();
+ ShellPort::Get()->IsForceMaximizeOnFirstRun();
// We want to always open maximized on "small screens" or when policy
// tells us to.
const bool set_maximized =

Powered by Google App Engine
This is Rietveld 408576698