| Index: services/ui/ws/platform_display.h
|
| diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
|
| index de7617522d4bbe50131c0b214d2007b658133e11..33ad23ecec99670c01907c07cde32c3530953154 100644
|
| --- a/services/ui/ws/platform_display.h
|
| +++ b/services/ui/ws/platform_display.h
|
| @@ -66,10 +66,6 @@ class PlatformDisplay {
|
|
|
| virtual void Init(PlatformDisplayDelegate* delegate) = 0;
|
|
|
| - // Schedules a paint for the specified region in the coordinates of |window|.
|
| - virtual void SchedulePaint(const ServerWindow* window,
|
| - const gfx::Rect& bounds) = 0;
|
| -
|
| virtual void SetViewportSize(const gfx::Size& size) = 0;
|
|
|
| virtual void SetTitle(const base::string16& title) = 0;
|
| @@ -83,9 +79,6 @@ class PlatformDisplay {
|
| virtual void UpdateTextInputState(const ui::TextInputState& state) = 0;
|
| virtual void SetImeVisibility(bool visible) = 0;
|
|
|
| - // Returns true if a compositor frame has been submitted but not drawn yet.
|
| - virtual bool IsFramePending() const = 0;
|
| -
|
| virtual gfx::Rect GetBounds() const = 0;
|
|
|
| // Updates the viewport metrics for the display, returning true if any
|
| @@ -125,8 +118,6 @@ class DefaultPlatformDisplay : public PlatformDisplay,
|
| // PlatformDisplay:
|
| void Init(PlatformDisplayDelegate* delegate) override;
|
| int64_t GetId() const override;
|
| - void SchedulePaint(const ServerWindow* window,
|
| - const gfx::Rect& bounds) override;
|
| void SetViewportSize(const gfx::Size& size) override;
|
| void SetTitle(const base::string16& title) override;
|
| void SetCapture() override;
|
| @@ -134,7 +125,6 @@ class DefaultPlatformDisplay : public PlatformDisplay,
|
| void SetCursorById(mojom::Cursor cursor) override;
|
| void UpdateTextInputState(const ui::TextInputState& state) override;
|
| void SetImeVisibility(bool visible) override;
|
| - bool IsFramePending() const override;
|
| gfx::Rect GetBounds() const override;
|
| bool UpdateViewportMetrics(const display::ViewportMetrics& metrics) override;
|
| const display::ViewportMetrics& GetViewportMetrics() const override;
|
|
|