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

Unified Diff: ash/shell.h

Issue 2906873003: chromeos: turn on simplified display management for mash (Closed)
Patch Set: moar Created 3 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
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 51f5df159047662cf70a5b79ca5d1e7bf4df58ae..529cedd4ba34094b03c51d23347cf352253023c3 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -271,6 +271,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/mus/window_manager_application.cc ('k') | ash/shell.cc » ('j') | ash/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698