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

Unified Diff: ash/common/wm_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/common/wm_shell.h ('k') | ash/content/display/screen_orientation_controller_chromeos_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 5d607d60ebc7507ac1f777c2ceeb83c592e23d27..99bda5c96f60c5b26e3e26131026ecf744bc0a84 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -31,6 +31,14 @@ WmShell* WmShell::Get() {
return instance_;
}
+void WmShell::OnMaximizeModeStarted() {
+ FOR_EACH_OBSERVER(ShellObserver, shell_observers_, OnMaximizeModeStarted());
+}
+
+void WmShell::OnMaximizeModeEnded() {
+ FOR_EACH_OBSERVER(ShellObserver, shell_observers_, OnMaximizeModeEnded());
+}
+
void WmShell::NotifyPinnedStateChanged(WmWindow* pinned_window) {
FOR_EACH_OBSERVER(ShellObserver, shell_observers_,
OnPinnedStateChanged(pinned_window));
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/content/display/screen_orientation_controller_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698