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

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

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
« no previous file with comments | « cc/test/fake_surface_observer.cc ('k') | components/viz/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/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 af01a4bfe29b5b40eeeaac432d4734a3bfed1396..26c0e0c870a7e6495c39ce07d88ae2242e183f58 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.h
@@ -81,8 +81,12 @@ class VIZ_EXPORT MojoFrameSinkManager
// cc::SurfaceObserver implementation.
void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) override;
void OnSurfaceDamaged(const cc::SurfaceId& surface_id,
+ const cc::BeginFrameAck& ack,
bool* changed) override;
void OnSurfaceDiscarded(const cc::SurfaceId& surface_id) override;
+ void OnSurfaceDestroyed(const cc::SurfaceId& surface_id) override;
+ void OnSurfaceDamageExpected(const cc::SurfaceId& surface_id,
+ const cc::BeginFrameArgs& args) 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/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698