Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: services/ui/ws/platform_display.h

Issue 2474113002: Mus+Ash: Unified BeginFrame Skeleton (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/platform_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/platform_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698