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

Unified Diff: ash/shell.cc

Issue 2118643002: Move MaximizeModeController into ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doh Created 4 years, 6 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/shell.h ('k') | ash/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 57993d5a7a9a7d0197da1222718ca8f9eaa41ea6..1fb0d02181b4c2ff6a239bc9da728b2b4a8c1762 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -25,6 +25,7 @@
#include "ash/common/shell_window_ids.h"
#include "ash/common/system/locale/locale_notification_controller.h"
#include "ash/common/system/tray/system_tray_delegate.h"
+#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/common/wm/maximize_mode/maximize_mode_window_manager.h"
#include "ash/common/wm/mru_window_tracker.h"
#include "ash/common/wm/root_window_finder.h"
@@ -68,7 +69,6 @@
#include "ash/wm/ash_native_cursor_manager.h"
#include "ash/wm/event_client_impl.h"
#include "ash/wm/lock_state_controller.h"
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/wm/overlay_event_filter.h"
#include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h"
#include "ash/wm/power_button_controller.h"
@@ -398,16 +398,6 @@ void Shell::OnCastingSessionStartedOrStopped(bool started) {
#endif
}
-void Shell::OnMaximizeModeStarted() {
- FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
- OnMaximizeModeStarted());
-}
-
-void Shell::OnMaximizeModeEnded() {
- FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
- OnMaximizeModeEnded());
-}
-
void Shell::OnRootWindowAdded(WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
OnRootWindowAdded(root_window));
« no previous file with comments | « ash/shell.h ('k') | ash/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698