Chromium Code Reviews| Index: services/ui/ws/platform_display_delegate.h |
| diff --git a/services/ui/ws/platform_display_delegate.h b/services/ui/ws/platform_display_delegate.h |
| index 7daf17da384388c6c2d3dfd05f2b95349ece3cfb..40b49c85709c66c552923210916ce11e99478cb2 100644 |
| --- a/services/ui/ws/platform_display_delegate.h |
| +++ b/services/ui/ws/platform_display_delegate.h |
| @@ -7,6 +7,10 @@ |
| #include "services/ui/ws/ids.h" |
| +namespace gfx { |
| +class Size; |
| +} |
| + |
| namespace ui { |
|
rjkroege
2016/09/23 13:56:23
nit: why two namespace ui?
kylechar
2016/09/23 14:22:28
Probably something like "s/namespace mus/namespace
|
| class Event; |
| } |
| @@ -23,6 +27,10 @@ struct ViewportMetrics; |
| /// and responses to changes in viewport size. |
| class PlatformDisplayDelegate { |
| public: |
| + // Creates the root window for this display. The new root window will have |
| + // |size| in DIP initially. |
| + virtual void CreateRootWindow(const gfx::Size& size) = 0; |
| + |
| // Returns the root window of this display. |
| virtual ServerWindow* GetRootWindow() = 0; |