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

Unified Diff: services/ui/public/cpp/window_compositor_frame_sink.h

Issue 2691453002: [cc] Track observer status in ExternalBeginFrameSource. (Closed)
Patch Set: Call DidFinishFrame even when dropped, update tests. Created 3 years, 10 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: services/ui/public/cpp/window_compositor_frame_sink.h
diff --git a/services/ui/public/cpp/window_compositor_frame_sink.h b/services/ui/public/cpp/window_compositor_frame_sink.h
index cfae5826b5b9629f1ff98dcd75133a045eb8efea..48ddf75dce9ae464d9ef89c4b905666d55f52b1a 100644
--- a/services/ui/public/cpp/window_compositor_frame_sink.h
+++ b/services/ui/public/cpp/window_compositor_frame_sink.h
@@ -55,6 +55,7 @@ class WindowCompositorFrameSink
// cc::ExternalBeginFrameSourceClient implementation.
void OnNeedsBeginFrames(bool needs_begin_frames) override;
+ void OnDidFinishFrame(const cc::BeginFrameAck& ack) override;
gfx::Size last_submitted_frame_size_;
cc::LocalSurfaceId local_surface_id_;

Powered by Google App Engine
This is Rietveld 408576698