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

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

Issue 2938833002: Add SurfaceWillDraw notification (Closed)
Patch Set: 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
Index: components/viz/frame_sinks/mojo_frame_sink_manager.h
diff --git a/components/viz/frame_sinks/mojo_frame_sink_manager.h b/components/viz/frame_sinks/mojo_frame_sink_manager.h
index f0f4f8931964baad04e1d473889a5173d3b3292e..85c061368cc43fe0ee0c4778a365830e992dab2e 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.h
@@ -87,6 +87,7 @@ class VIZ_EXPORT MojoFrameSinkManager
void OnSurfaceDestroyed(const cc::SurfaceId& surface_id) override;
void OnSurfaceDamageExpected(const cc::SurfaceId& surface_id,
const cc::BeginFrameArgs& args) override;
+ void OnSurfaceWillDraw(const cc::SurfaceId& surface_id) override;
// GpuCompositorFrameSinkDelegate implementation.
void OnClientConnectionLost(const cc::FrameSinkId& frame_sink_id,

Powered by Google App Engine
This is Rietveld 408576698