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

Unified Diff: ash/wm/maximize_mode/maximize_mode_controller.cc

Issue 2811153002: Restore bounds after the screen is restored in clamshell (Closed)
Patch Set: Restore bounds after completely transitioned to clamshell. Created 3 years, 8 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/wm/maximize_mode/maximize_mode_controller.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_controller.cc b/ash/wm/maximize_mode/maximize_mode_controller.cc
index 2c8e1f82ac7e1cf701b69e09a82caef26fce159e..0c606b3f80daecdc1d3f51ef92e190791be98356 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller.cc
@@ -168,6 +168,7 @@ void MaximizeModeController::EnableMaximizeModeWindowManager(
});
} else {
+ maximize_mode_window_manager_->SetIgnoreWmEventsForExit();
Shell::Get()->NotifyMaximizeModeEnding();
maximize_mode_window_manager_.reset();
ShellPort::Get()->RecordUserMetricsAction(UMA_MAXIMIZE_MODE_DISABLED);
« no previous file with comments | « ash/display/screen_orientation_controller_chromeos.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698