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

Unified Diff: ash/common/wm/maximize_mode/maximize_mode_controller.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/maximize_mode/maximize_mode_controller.cc
diff --git a/ash/common/wm/maximize_mode/maximize_mode_controller.cc b/ash/common/wm/maximize_mode/maximize_mode_controller.cc
index e83d321cf758c7de91739c78f3530f6b1698b084..6ea28beb58a2532df56232fde1be6721f866c5d6 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_controller.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_controller.cc
@@ -146,6 +146,7 @@ void MaximizeModeController::EnableMaximizeModeWindowManager(
});
} else {
+ shell->OnMaximizeModeEnding();
maximize_mode_window_manager_.reset();
shell->RecordUserMetricsAction(UMA_MAXIMIZE_MODE_DISABLED);
shell->OnMaximizeModeEnded();

Powered by Google App Engine
This is Rietveld 408576698