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

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

Issue 2938833002: Add SurfaceWillDraw notification (Closed)
Patch Set: add unit test to verify that OnSurfaceWillDraw is called only for surfaces added to the CompositorF… Created 3 years, 6 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
« no previous file with comments | « components/viz/service/frame_sinks/mojo_frame_sink_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/service/frame_sinks/mojo_frame_sink_manager.cc
diff --git a/components/viz/service/frame_sinks/mojo_frame_sink_manager.cc b/components/viz/service/frame_sinks/mojo_frame_sink_manager.cc
index e92b9a391e507b1f6336376dced74249200feded..78ff7fa3f61502ba5e81392a44538623b50c59af 100644
--- a/components/viz/service/frame_sinks/mojo_frame_sink_manager.cc
+++ b/components/viz/service/frame_sinks/mojo_frame_sink_manager.cc
@@ -147,6 +147,8 @@ void MojoFrameSinkManager::OnClientConnectionLost(
// client instance to create a new CompositorFrameSink.
}
+void MojoFrameSinkManager::OnSurfaceWillDraw(const cc::SurfaceId& surface_id) {}
+
void MojoFrameSinkManager::OnPrivateConnectionLost(
const cc::FrameSinkId& frame_sink_id,
bool destroy_compositor_frame_sink) {
« no previous file with comments | « components/viz/service/frame_sinks/mojo_frame_sink_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698