| Index: services/ui/ws/platform_display_factory.h
|
| diff --git a/services/ui/ws/platform_display_factory.h b/services/ui/ws/platform_display_factory.h
|
| index e0f1be93d70fbdf80f06f2c0c7b821f086771e56..99e17af3e849668f79868295f4da4372d6c03584 100644
|
| --- a/services/ui/ws/platform_display_factory.h
|
| +++ b/services/ui/ws/platform_display_factory.h
|
| @@ -7,18 +7,23 @@
|
|
|
| #include <memory>
|
|
|
| +namespace display {
|
| +struct ViewportMetrics;
|
| +}
|
| +
|
| namespace ui {
|
| namespace ws {
|
|
|
| class PlatformDisplay;
|
| -struct PlatformDisplayInitParams;
|
| +class ServerWindow;
|
|
|
| // Abstract factory for PlatformDisplays. Used by tests to construct test
|
| // PlatformDisplays.
|
| class PlatformDisplayFactory {
|
| public:
|
| virtual std::unique_ptr<PlatformDisplay> CreatePlatformDisplay(
|
| - const PlatformDisplayInitParams& init_params) = 0;
|
| + ServerWindow* root_window,
|
| + const display::ViewportMetrics& metrics) = 0;
|
| };
|
|
|
| } // namespace ws
|
|
|