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

Unified Diff: ash/shell.h

Issue 289583002: Lock rotation when screen is manually rotated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non chromeOS builds Created 6 years, 7 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
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698