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

Unified Diff: ui/display/manager/display_manager.h

Issue 2476663003: PlatformScreenOzone using DisplayManager (Closed)
Patch Set: Add missing data_dep. Created 4 years 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 | « services/ui/display/viewport_metrics.cc ('k') | ui/display/manager/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_manager.h
diff --git a/ui/display/manager/display_manager.h b/ui/display/manager/display_manager.h
index 8437a3f1e9e944df527412bb6ddd7258351f0e93..85bfc263f8f4b402f7fa48c2cadb7f3853a22dab 100644
--- a/ui/display/manager/display_manager.h
+++ b/ui/display/manager/display_manager.h
@@ -108,6 +108,10 @@ class DISPLAY_MANAGER_EXPORT DisplayManager
force_bounds_changed_ = force_bounds_changed;
}
+ void set_configure_displays(bool configure_displays) {
+ configure_displays_ = configure_displays;
+ }
+
// Returns the display id of the first display in the outupt list.
int64_t first_display_id() const { return first_display_id_; }
@@ -414,6 +418,11 @@ class DISPLAY_MANAGER_EXPORT DisplayManager
Delegate* delegate_ = nullptr; // not owned.
+ // When set to true, DisplayManager will use DisplayConfigurator to configure
+ // displays. By default, this is set to true when running on device and false
+ // when running off device.
+ bool configure_displays_ = false;
+
std::unique_ptr<Screen> screen_;
std::unique_ptr<DisplayLayoutStore> layout_store_;
« no previous file with comments | « services/ui/display/viewport_metrics.cc ('k') | ui/display/manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698