| Index: services/ui/display/platform_screen_ozone.h
|
| diff --git a/services/ui/display/platform_screen_ozone.h b/services/ui/display/platform_screen_ozone.h
|
| index 521ead33aa394f005efe4fc06a817f032b788894..58aefe7bcceeaf48f8d85a0e8af6f6b90d953899 100644
|
| --- a/services/ui/display/platform_screen_ozone.h
|
| +++ b/services/ui/display/platform_screen_ozone.h
|
| @@ -19,6 +19,7 @@
|
| #include "services/ui/public/interfaces/display/display_controller.mojom.h"
|
| #include "ui/display/chromeos/display_configurator.h"
|
| #include "ui/display/display.h"
|
| +#include "ui/display/types/fake_display_controller.h"
|
|
|
| namespace display {
|
|
|
| @@ -102,6 +103,14 @@ class PlatformScreenOzone
|
| ui::DisplayConfigurator display_configurator_;
|
| PlatformScreenDelegate* delegate_ = nullptr;
|
|
|
| + // If not null it provides a way to modify the display state when running off
|
| + // device.
|
| + FakeDisplayController* fake_display_controller_ = nullptr;
|
| +
|
| + // Tracks if we've made some type of change and want to wait for the display
|
| + // configuration to update before making further changes.
|
| + bool wait_for_display_update_ = false;
|
| +
|
| // TODO(kylechar): These values can/should be replaced by DisplayLayout.
|
| int64_t primary_display_id_ = display::Display::kInvalidDisplayID;
|
| std::vector<DisplayInfo> cached_displays_;
|
|
|