Index: cc/output/compositor_frame_sink.h |
diff --git a/cc/output/compositor_frame_sink.h b/cc/output/compositor_frame_sink.h |
index f8b7a47b4e6c97fc06934a4a4062377f270e1e45..f45851180b211da8aa49fa5eee7f798c17ea5d0b 100644 |
--- a/cc/output/compositor_frame_sink.h |
+++ b/cc/output/compositor_frame_sink.h |
@@ -25,6 +25,7 @@ class GpuMemoryBufferManager; |
namespace cc { |
+struct BeginFrameAck; |
class CompositorFrame; |
class CompositorFrameSinkClient; |
class LocalSurfaceId; |
@@ -121,6 +122,10 @@ class CC_EXPORT CompositorFrameSink { |
// processed in order to unthrottle the next frame. |
virtual void SubmitCompositorFrame(CompositorFrame frame) = 0; |
+ // Signals that a BeginFrame issued by the BeginFrameSource provided to the |
+ // client did not lead to a CompositorFrame submission. |
+ virtual void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) = 0; |
+ |
protected: |
// Bound to the ContextProvider to hear about when it is lost and inform the |
// |client_|. |