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

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

Issue 2474113002: Mus+Ash: Unified BeginFrame Skeleton (Closed)
Patch Set: Remove window_tree.mojom.h 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
Index: services/ui/ws/platform_display.h
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
index 96b52cf8fb56235640f317566da47b4d4173d4cc..33b1ca9576f8f4533d10829991ee7166ccdaf12a 100644
--- a/services/ui/ws/platform_display.h
+++ b/services/ui/ws/platform_display.h
@@ -65,10 +65,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;
@@ -82,9 +78,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
@@ -124,8 +117,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;
@@ -133,7 +124,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;

Powered by Google App Engine
This is Rietveld 408576698