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

Unified Diff: cc/surfaces/compositor_frame_sink_support_client.h

Issue 2757953002: DisplayCompositor should enforce invariant that frame size and device scale factor are fixed (Closed)
Patch Set: Created 3 years, 9 months 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: cc/surfaces/compositor_frame_sink_support_client.h
diff --git a/cc/surfaces/compositor_frame_sink_support_client.h b/cc/surfaces/compositor_frame_sink_support_client.h
index 905f6db8ec7436196941b9a05275a4caacb747b2..4f485165166f5ae6621d7dd83e9d8a9da314f53e 100644
--- a/cc/surfaces/compositor_frame_sink_support_client.h
+++ b/cc/surfaces/compositor_frame_sink_support_client.h
@@ -38,6 +38,8 @@ class CompositorFrameSinkSupportClient {
virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
const gfx::Rect& damage_rect) = 0;
+ virtual void OnBadFrameReceived() {}
+
protected:
virtual ~CompositorFrameSinkSupportClient() {}
};

Powered by Google App Engine
This is Rietveld 408576698