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

Unified Diff: ash/common/wm/maximize_mode/maximize_mode_event_handler.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: merge 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
« no previous file with comments | « ash/common/test/wm_shell_test_api.cc ('k') | ash/common/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/maximize_mode/maximize_mode_event_handler.cc
diff --git a/ash/common/wm/maximize_mode/maximize_mode_event_handler.cc b/ash/common/wm/maximize_mode/maximize_mode_event_handler.cc
index 49905c80f148de927c38046582d4c4ac32f88453..7c3d36d249f4101d7a3a614f1fc539b9967629b9 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_event_handler.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_event_handler.cc
@@ -10,6 +10,7 @@
#include "ash/common/wm/wm_event.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
+#include "ash/shell.h"
#include "ui/events/event.h"
namespace ash {
@@ -55,7 +56,7 @@ bool MaximizeModeEventHandler::ToggleFullscreen(const ui::TouchEvent& event) {
// Do not exit fullscreen in kiosk mode.
SystemTrayDelegate* system_tray_delegate =
- WmShell::Get()->system_tray_delegate();
+ Shell::Get()->system_tray_delegate();
if (system_tray_delegate->GetUserLoginStatus() == LoginStatus::KIOSK_APP ||
system_tray_delegate->GetUserLoginStatus() ==
LoginStatus::ARC_KIOSK_APP) {
« no previous file with comments | « ash/common/test/wm_shell_test_api.cc ('k') | ash/common/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698