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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.h

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Cleanup. 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_root_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.h b/components/display_compositor/gpu_root_compositor_frame_sink.h
index a978eb79d659a15e8d334e02160366595212d4e2..3e5a7648a49c37b74f0fe01d0a7fc9bcbc9f20c0 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.h
@@ -9,6 +9,9 @@
#include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
#include "cc/surfaces/compositor_frame_sink_support_client.h"
#include "cc/surfaces/display_client.h"
+#include "cc/surfaces/frame_sink_id.h"
+#include "cc/surfaces/local_surface_id.h"
+#include "cc/surfaces/surface_id.h"
#include "components/display_compositor/display_compositor_export.h"
#include "components/display_compositor/gpu_compositor_frame_sink_delegate.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
@@ -18,7 +21,6 @@ namespace cc {
class BeginFrameSource;
class CompositorFrameSinkSupport;
class Display;
-class FrameSinkId;
class SurfaceManager;
}
@@ -67,6 +69,7 @@ class DISPLAY_COMPOSITOR_EXPORT GpuRootCompositorFrameSink
void AddChildFrameSink(const cc::FrameSinkId& child_frame_sink_id) override;
void RemoveChildFrameSink(
const cc::FrameSinkId& child_frame_sink_id) override;
+ void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override;
void RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) override;

Powered by Google App Engine
This is Rietveld 408576698