Chromium Code Reviews| Index: ash/shell.cc |
| diff --git a/ash/shell.cc b/ash/shell.cc |
| index c0a176517c1f7c883e2d26096454cb7f43f70fb0..5d7538127ff90860774f9c7565a5bf9f9cc4928b 100644 |
| --- a/ash/shell.cc |
| +++ b/ash/shell.cc |
| @@ -477,6 +477,12 @@ bool Shell::IsMaximizeModeWindowManagerEnabled() { |
| return maximize_mode_window_manager_.get() != NULL; |
| } |
| +bool Shell::ShouldSaveDisplaySettings() { |
| + return !((IsMaximizeModeWindowManagerEnabled() && |
| + maximize_mode_controller_->in_set_screen_rotation()) || |
|
flackr
2014/05/26 16:05:18
nit: I would indent maximize_mode_controller_ eith
jonross
2014/05/26 19:05:48
Done.
|
| + resolution_notification_controller_->DoesNotificationTimeout()); |
| +} |
| + |
| void Shell::UpdateShelfVisibility() { |
| RootWindowControllerList controllers = GetAllRootWindowControllers(); |
| for (RootWindowControllerList::iterator iter = controllers.begin(); |