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..62bac21f2b098dbfe8063307827111e228e03168 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,17 @@ 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 Init(PlatformScreenDelegate* delegate) override; |
int64_t GetPrimaryDisplayId() const override; |
+ PlatformScreenDelegate* delegate_ = nullptr; |
+ |
+ base::WeakPtrFactory<PlatformScreenImpl> weak_ptr_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl); |
}; |