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

Unified Diff: ash/shell.cc

Issue 759063002: Move Screen Rotation from MaximizeModeController to ScreenOrientationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index f8e6aab42c74b8832e0de6d10f008c2a2dc29d96..f42790d200dfce18c688d385f81c853aee07f022 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -486,8 +486,8 @@ void Shell::RemoveShellObserver(ShellObserver* observer) {
#if defined(OS_CHROMEOS)
bool Shell::ShouldSaveDisplaySettings() {
return !((maximize_mode_controller_->IsMaximizeModeWindowManagerEnabled() &&
flackr 2014/11/27 15:39:15 Do we need to check if maximize mode window manage
jonross 2014/12/10 17:57:30 Yeah the maximize mode check is no longer needed
- maximize_mode_controller_->
- ignore_display_configuration_updates()) ||
+ screen_orientation_delegate_
+ ->ignore_display_configuration_updates()) ||
resolution_notification_controller_->DoesNotificationTimeout());
}
#endif

Powered by Google App Engine
This is Rietveld 408576698