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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2774373002: Use MojoCompositorFrameSink in RendererCompositorFrameSink (Closed)
Patch Set: Rebased, dedup IPC Created 3 years, 8 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: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index f0bcf5cb948d39b6f7633348fc896f5a40af477c..e36e8146fe73d8b05118937ab2f0be41ef182bdd 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -23,6 +23,7 @@
#include "build/build_config.h"
#include "content/browser/child_process_launcher.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
+#include "content/browser/renderer_host/frame_sink_provider_impl.h"
#include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h"
#include "content/browser/webrtc/webrtc_eventlog_host.h"
#include "content/common/associated_interfaces.mojom.h"
@@ -347,6 +348,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
void CreateMusGpuRequest(ui::mojom::GpuRequest request);
void CreateOffscreenCanvasCompositorFrameSinkProvider(
blink::mojom::OffscreenCanvasCompositorFrameSinkProviderRequest request);
+ void BindFrameSinkProvider(mojom::FrameSinkProviderRequest request);
void CreateStoragePartitionService(
mojo::InterfaceRequest<mojom::StoragePartitionService> request);
@@ -618,6 +620,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
std::unique_ptr<base::WeakPtrFactory<RenderProcessHostImpl>>
instance_weak_factory_;
+ FrameSinkProviderImpl frame_sink_provider_;
+
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698