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

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

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 | « cc/test/fake_surface_observer.cc ('k') | components/viz/service/frame_sinks/mojo_frame_sink_manager.cc » ('j') | 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.h
diff --git a/components/viz/service/frame_sinks/mojo_frame_sink_manager.h b/components/viz/service/frame_sinks/mojo_frame_sink_manager.h
index 5f70ecfaba9252f6bbba969744774ce9dc1dbb03..d883730b4a24915ec580ddeeda092f2eeeb10228 100644
--- a/components/viz/service/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/service/frame_sinks/mojo_frame_sink_manager.h
@@ -87,6 +87,7 @@ class VIZ_SERVICE_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,
« no previous file with comments | « cc/test/fake_surface_observer.cc ('k') | components/viz/service/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698