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

Unified Diff: components/viz/frame_sinks/mojo_frame_sink_manager.cc

Issue 2854163003: [cc] Plumb BeginFrameAcks through SurfaceManager to DisplayScheduler. (Closed)
Patch Set: fix clang compile error 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: components/viz/frame_sinks/mojo_frame_sink_manager.cc
diff --git a/components/viz/frame_sinks/mojo_frame_sink_manager.cc b/components/viz/frame_sinks/mojo_frame_sink_manager.cc
index 1c4cc82bc5109544b7cb4858f7b7d9616594da53..69bbde36d281336a520ae62163555ff83e8732bf 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.cc
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.cc
@@ -122,11 +122,19 @@ void MojoFrameSinkManager::OnSurfaceCreated(
}
void MojoFrameSinkManager::OnSurfaceDamaged(const cc::SurfaceId& surface_id,
+ const cc::BeginFrameAck& ack,
bool* changed) {}
void MojoFrameSinkManager::OnSurfaceDiscarded(const cc::SurfaceId& surface_id) {
}
+void MojoFrameSinkManager::OnSurfaceDestroyed(const cc::SurfaceId& surface_id) {
+}
+
+void MojoFrameSinkManager::OnSurfaceDamageExpected(
+ const cc::SurfaceId& surface_id,
+ const cc::BeginFrameArgs& args) {}
+
void MojoFrameSinkManager::OnClientConnectionLost(
const cc::FrameSinkId& frame_sink_id,
bool destroy_compositor_frame_sink) {

Powered by Google App Engine
This is Rietveld 408576698