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

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: 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') | chrome/browser/chromeos/display/display_preferences.cc » ('J')
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..374053c6dbc764cfcea343321abd6cfae74b6911 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -332,6 +332,11 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// Test if the MaximizeModeWindowManager is enabled or not.
bool IsMaximizeModeWindowManagerEnabled();
+ // Test if MaximizeModeWindowManager is not enabled, and if
+ // MaximizeModeController is not currently setting a display rotation. If
+ // true then changes to display settings can be saved.
+ bool ShouldSaveDisplaySettings();
+
AcceleratorController* accelerator_controller() {
return accelerator_controller_.get();
}
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | chrome/browser/chromeos/display/display_preferences.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698