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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

Issue 2676353002: MojoCompositorFrameSinkPrivate should support copy requests (Closed)
Patch Set: Remove callback Created 3 years, 10 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/display_compositor/gpu_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_compositor_frame_sink.h b/components/display_compositor/gpu_compositor_frame_sink.h
index 0b1acb9e3bf56a1891681ae8f9101f8040b14c20..224c0b6a5f68703eb0537cc39a0407656abe54f0 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_compositor_frame_sink.h
@@ -47,6 +47,8 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
void AddChildFrameSink(const cc::FrameSinkId& child_frame_sink_id) override;
void RemoveChildFrameSink(
const cc::FrameSinkId& child_frame_sink_id) override;
+ void RequestCopyOfSurface(
+ std::unique_ptr<cc::CopyOutputRequest> request) override;
protected:
void OnClientConnectionLost();
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | components/display_compositor/gpu_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698