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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2470143006: Remove dependency on SurfaceManager in FrameGenerator (Closed)
Patch Set: Remove a couple of bad std::moves Created 4 years, 1 month 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 | « no previous file | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index d899dc7251edc5b193ef3a66dc653fec32fd43d2..18ad01a7ff3a613e08a28f35f8e0443b913701c5 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -32,7 +32,11 @@ class DisplayCompositor : public cc::SurfaceObserver,
public:
explicit DisplayCompositor(cc::mojom::DisplayCompositorClientPtr client);
- void ReturnSurfaceReference(const cc::SurfaceSequence& sequence);
+ // TODO(fsamuel): These methods should be behind a mojo interface.
+ void AddSurfaceReference(const cc::SurfaceId& surface_id,
+ const cc::SurfaceSequence& surface_sequence);
+ void ReturnSurfaceReferences(const cc::FrameSinkId& frame_sink_id,
+ const std::vector<uint32_t>& sequences);
cc::SurfaceManager* manager() { return &manager_; }
« no previous file with comments | « no previous file | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698