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

Unified Diff: ash/shell.h

Issue 9320076: Aura: Switch window mode when screen resolution changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works even if --aura-window-mode on cmd line Created 8 years, 10 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 16add64ab50f47014fc13803f5be4f8f8518fe7a..4ffee25c0d33441444e0a6f6a39fb65b0252f5e6 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -101,6 +101,9 @@ class ASH_EXPORT Shell {
// installed or removed.
void ChangeWindowMode(WindowMode mode);
+ // Sets an appropriate window mode for the given screen resolution.
+ void SetWindowModeForMonitorSize(const gfx::Size& monitor_size);
+
// Returns true if the screen is locked.
bool IsScreenLocked() const;
« 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