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

Unified Diff: cc/surfaces/direct_compositor_frame_sink.h

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: remove ExternalBFS::OnDidFinishFrame and related ack tracking. 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/direct_compositor_frame_sink.h
diff --git a/cc/surfaces/direct_compositor_frame_sink.h b/cc/surfaces/direct_compositor_frame_sink.h
index 06ac4c3bb15eb7adfd2c95fcf048fcba59e04c3c..2ecafb3b881c08d428feaa896860d10590652f65 100644
--- a/cc/surfaces/direct_compositor_frame_sink.h
+++ b/cc/surfaces/direct_compositor_frame_sink.h
@@ -49,6 +49,7 @@ class CC_SURFACES_EXPORT DirectCompositorFrameSink
bool BindToClient(CompositorFrameSinkClient* client) override;
void DetachFromClient() override;
void SubmitCompositorFrame(CompositorFrame frame) override;
+ void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) override;
// DisplayClient implementation.
void DisplayOutputSurfaceLost() override;
@@ -70,7 +71,6 @@ class CC_SURFACES_EXPORT DirectCompositorFrameSink
// ExternalBeginFrameSourceClient implementation:
void OnNeedsBeginFrames(bool needs_begin_frame) override;
- void OnDidFinishFrame(const BeginFrameAck& ack) override;
// This class is only meant to be used on a single thread.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698