| Index: services/ui/ws/display.h
|
| diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
|
| index 98edd42f3bd8b2daba72110722755867e41eb32f..18247d4c43fad5d018010398a0abea7b189450d6 100644
|
| --- a/services/ui/ws/display.h
|
| +++ b/services/ui/ws/display.h
|
| @@ -58,8 +58,7 @@ class Display : public PlatformDisplayDelegate,
|
| public UserIdTrackerObserver,
|
| public WindowManagerWindowTreeFactorySetObserver {
|
| public:
|
| - Display(WindowServer* window_server,
|
| - const PlatformDisplayInitParams& platform_display_init_params);
|
| + Display(WindowServer* window_server, PlatformDisplayInitParams init_params);
|
| ~Display() override;
|
|
|
| // Initializes state that depends on the existence of a Display.
|
| @@ -163,8 +162,11 @@ class Display : public PlatformDisplayDelegate,
|
| void CreateWindowManagerDisplayRootFromFactory(
|
| WindowManagerWindowTreeFactory* factory);
|
|
|
| + // Creates the root ServerWindow for this display. The root window will have
|
| + // |size| in DIP.
|
| + void CreateRootWindow(const gfx::Size& size);
|
| +
|
| // PlatformDisplayDelegate:
|
| - void CreateRootWindow(const gfx::Size& size) override;
|
| ServerWindow* GetRootWindow() override;
|
| bool IsInHighContrastMode() override;
|
| void OnEvent(const ui::Event& event) override;
|
|
|