Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index e889131b95beca21793ddde3e57a98c6cf693080..371ea9fcc2ed17f84594f203934c1e0ce10d924a 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -332,6 +332,14 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate, |
// Test if the MaximizeModeWindowManager is enabled or not. |
bool IsMaximizeModeWindowManagerEnabled(); |
+#if defined(OS_CHROMEOS) |
+ // Test if MaximizeModeWindowManager is not enabled, and if |
+ // MaximizeModeController is not currently setting a display rotation. Or if |
+ // the |resolution_notification_controller_| is not showing its confirmation |
+ // dialog. If true then changes to display settings can be saved. |
+ bool ShouldSaveDisplaySettings(); |
+#endif |
+ |
AcceleratorController* accelerator_controller() { |
return accelerator_controller_.get(); |
} |