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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_impl.h

Issue 2344183002: Move part of display_compositor's interface to cc/ipc (Closed)
Patch Set: nits Created 4 years, 3 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: services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
index b6aa16b910efea28a23dc47e6c29f063fe42c4c4..8d4ace6d2762b7ec5d068db80cb2c2afd034e0f3 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
@@ -6,12 +6,12 @@
#define SERVICES_UI_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_IMPL_H_
#include "base/memory/ref_counted.h"
+#include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/surface_factory.h"
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "services/ui/public/interfaces/gpu/display_compositor.mojom.h"
#include "services/ui/surfaces/surfaces_state.h"
namespace ui {
@@ -22,7 +22,7 @@ class CompositorFrameSinkDelegate;
// A client presents visuals to screen by submitting CompositorFrames to a
// CompositorFrameSink.
class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient,
- public mojom::CompositorFrameSink,
+ public cc::mojom::MojoCompositorFrameSink,
public cc::BeginFrameObserver {
public:
CompositorFrameSinkImpl(
@@ -33,7 +33,7 @@ class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient,
mojom::CompositorFrameSinkClientPtr client);
~CompositorFrameSinkImpl() override;
- // mojom::CompositorFrameSink implementation.
+ // cc::mojom::MojoCompositorFrameSink implementation.
void SetNeedsBeginFrame(bool needs_begin_frame) override;
void SubmitCompositorFrame(
cc::CompositorFrame compositor_frame,
« no previous file with comments | « services/ui/gpu/display_compositor/BUILD.gn ('k') | services/ui/public/interfaces/gpu/display_compositor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698