Chromium Code Reviews| Index: services/ui/ws/display.h |
| diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h |
| index 11811e5ee640635d5131b427f37a51c6ff07892a..56d973fa034763ebc42b8ff5da04dc9bd3abdcc6 100644 |
| --- a/services/ui/ws/display.h |
| +++ b/services/ui/ws/display.h |
| @@ -137,8 +137,9 @@ class Display : public PlatformDisplayDelegate, |
| void SetSize(const gfx::Size& size) override; |
| void SetTitle(const mojo::String& title) override; |
| - // Updates the root window, if necessary, for viewport metric changes. |
| - void OnViewportMetricsChanged(const display::ViewportMetrics& new_metrics); |
| + // Updates the size of display root ServerWindow and WM ServerWindow(s) for |
|
msw
2016/11/09 20:57:18
nit: "the display's root ServerWindow"? and "for t
kylechar
2016/11/09 21:36:56
Changed method otherwise.
|
| + // new |size| if necessary. |size| is in physical pixels. |
| + void UpdateRootWindowSize(const gfx::Size& new_size); |
|
msw
2016/11/09 20:57:18
Would it make sense to keep this as OnViewportMetr
kylechar
2016/11/09 21:36:56
Hmm, we're not using the rest of the values now..
|
| private: |
| friend class test::DisplayTestApi; |