| 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_;
|
|
|