| Index: services/ui/display/platform_screen_impl.h
|
| diff --git a/services/ui/display/platform_screen_impl.h b/services/ui/display/platform_screen_impl.h
|
| index 0b5ff5a8879348320be9246913112c84207731f1..5dbc72f2fb3f3c89cf197b94618a6af69e43564c 100644
|
| --- a/services/ui/display/platform_screen_impl.h
|
| +++ b/services/ui/display/platform_screen_impl.h
|
| @@ -8,6 +8,7 @@
|
| #include <stdint.h>
|
|
|
| #include "base/callback.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "services/ui/display/platform_screen.h"
|
|
|
| namespace display {
|
| @@ -20,12 +21,18 @@ class PlatformScreenImpl : public PlatformScreen {
|
| ~PlatformScreenImpl() override;
|
|
|
| private:
|
| + // Fake creation of a single 1024x768 display.
|
| + void FixedSizeScreenConfiguration();
|
| +
|
| // PlatformScreen.
|
| void Init() override;
|
| - void ConfigurePhysicalDisplay(
|
| - const PlatformScreen::ConfiguredDisplayCallback& callback) override;
|
| + void ConfigureDisplays(PlatformScreenDelegate* delegate) override;
|
| int64_t GetPrimaryDisplayId() const override;
|
|
|
| + PlatformScreenDelegate* delegate_ = nullptr;
|
| +
|
| + base::WeakPtrFactory<PlatformScreenImpl> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl);
|
| };
|
|
|
|
|