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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.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/ash/launcher/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index d6bffcdd19917853d75e8643e8ff8159873f1ab3..87acd04b725b37c88b165ef5c78177b72d4f1b67 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -8,7 +8,6 @@
#include "ash/common/shelf/shelf_delegate.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/common/wm/window_state.h"
-#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/display/screen_orientation_controller_chromeos.h"
#include "ash/shared/app_types.h"
@@ -423,7 +422,7 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded(
RegisterApp(info);
DCHECK(info->app_window()->controller());
window->SetProperty(ash::kShelfIDKey, info->app_window()->shelf_id());
- if (ash::WmShell::Get()
+ if (ash::Shell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled()) {
SetOrientationLockForAppWindow(info->app_window());
@@ -555,7 +554,7 @@ void ArcAppWindowLauncherController::OnTaskOrientationLockRequested(
return;
info->set_requested_orientation_lock(orientation_lock);
- if (ash::WmShell::Get()
+ if (ash::Shell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled()) {
AppWindow* app_window = info->app_window();

Powered by Google App Engine
This is Rietveld 408576698