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

Unified Diff: ash/common/wm_shell.cc

Issue 2234033002: mash: Remove WorkspaceLayoutManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WmRootWindowControllerObserver::OnFullscreenStateChanged; use ShellObserver. Created 4 years, 4 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/mus/bridge/wm_root_window_controller_mus.h » ('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 6d629cb9fdf30883d2eb9d38b48f61a8cef6079c..5941e28fc7f7a03be1449447da4352c3bc82440b 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -98,6 +98,12 @@ void WmShell::OnMaximizeModeEnded() {
FOR_EACH_OBSERVER(ShellObserver, shell_observers_, OnMaximizeModeEnded());
}
+void WmShell::NotifyFullscreenStateChanged(bool is_fullscreen,
+ WmWindow* root_window) {
+ FOR_EACH_OBSERVER(ShellObserver, shell_observers_,
+ OnFullscreenStateChanged(is_fullscreen, root_window));
+}
+
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/mus/bridge/wm_root_window_controller_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698