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

Unified Diff: cc/surfaces/compositor_frame_sink_support_client.h

Issue 2848223003: Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: Notify CFSSClient when a frame is rejected Created 3 years, 7 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 4fd378605b9610634f45b0c9054a3464dfe8944f..4012d4dca307f9c28d3366b32f65d3a14a183db0 100644
--- a/cc/surfaces/compositor_frame_sink_support_client.h
+++ b/cc/surfaces/compositor_frame_sink_support_client.h
@@ -39,6 +39,9 @@ class CompositorFrameSinkSupportClient {
virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
const gfx::Rect& damage_rect) = 0;
+ // Called when an invalid CompositorFrame is received.
+ virtual void DidRejectCompositorFrame() = 0;
+
protected:
virtual ~CompositorFrameSinkSupportClient() {}
};

Powered by Google App Engine
This is Rietveld 408576698