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

Unified Diff: ash/shell.h

Issue 2906873003: chromeos: turn on simplified display management for mash (Closed)
Patch Set: really disable failing tests 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
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.

Powered by Google App Engine
This is Rietveld 408576698