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

Unified Diff: ash/shell.h

Issue 2906873003: chromeos: turn on simplified display management for mash (Closed)
Patch Set: bug refs Created 3 years, 6 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 | « ash/rotator/screen_rotation_animator_unittest.cc ('k') | 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 897c532ecb1fb2d6ecabff7459a50bc7358ba80f..a2d268f4a821c99ceb50f60732e09e689fb10fc6 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -268,6 +268,9 @@ class ASH_EXPORT Shell : public SessionObserver,
// Returns true if simplified display management should be enabled.
// TODO(sky): remove this; temporary until http://crbug.com/718860 is done.
static bool ShouldEnableSimplifiedDisplayManagement();
+ // Use this variant if you have a Config and the Shell may not have been
+ // initialized yet.
+ static bool ShouldEnableSimplifiedDisplayManagement(ash::Config config);
// Creates a default views::NonClientFrameView for use by windows in the
// Ash environment.
« no previous file with comments | « ash/rotator/screen_rotation_animator_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698