| Index: ui/display/screen.h
|
| diff --git a/ui/display/screen.h b/ui/display/screen.h
|
| index 79a0035d2565e9aa4b27d5723591ecd4397f403b..bb1b3443beb6162fbc103c1fdb67b0d5550a1b1b 100644
|
| --- a/ui/display/screen.h
|
| +++ b/ui/display/screen.h
|
| @@ -88,6 +88,13 @@ class DISPLAY_EXPORT Screen {
|
| virtual gfx::Rect DIPToScreenRectInWindow(gfx::NativeView view,
|
| const gfx::Rect& dip_rect) const;
|
|
|
| + // Called when the compositor geometry has been changed.
|
| + virtual void OnOutputGeometryChanged(int32_t name, const gfx::Rect& rect) { }
|
| +
|
| + // In case of ozone wayland, we need to wait for information of the compositor
|
| + // geometry.
|
| + virtual void WaitForScreenSizeAvailable() { }
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(Screen);
|
| };
|
|
|