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

Unified Diff: ash/common/wm_shell.cc

Issue 2704173002: Update the layout mode first when exiting tablet mode (Closed)
Patch Set: . Created 3 years, 10 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: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 4aa11831fd0299d22ce937f5e582aae555d90bc8..fcd7804aad242e9f61489c6f20e761ce8871bae5 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -182,6 +182,11 @@ void WmShell::OnMaximizeModeStarted() {
observer.OnMaximizeModeStarted();
}
+void WmShell::OnMaximizeModeEnding() {
+ for (auto& observer : shell_observers_)
+ observer.OnMaximizeModeEnding();
+}
+
void WmShell::OnMaximizeModeEnded() {
for (auto& observer : shell_observers_)
observer.OnMaximizeModeEnded();

Powered by Google App Engine
This is Rietveld 408576698