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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2413063002: content/blimp: Set up hooks for enabling LTHRemote in the renderer. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 32c5092d952de3ad74412b9952d357bb7db69aec..63e654273416713f055af89a1d30269ef6b0516f 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -58,6 +58,8 @@ struct WebURLError;
namespace cc {
class ImageSerializationProcessor;
+class RemoteCompositorBridge;
+class RemoteProtoChannel;
}
namespace gfx {
@@ -276,6 +278,14 @@ class CONTENT_EXPORT ContentRendererClient {
// Allows an embedder to provide a cc::ImageSerializationProcessor.
virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor();
+ // Allows an embedder to create the cc::RemoteCompositorBridge when using
+ // remote compositing.
+ // The |remote_proto_channel| outlives the RemoteCompositorBridge.
+ virtual std::unique_ptr<cc::RemoteCompositorBridge>
+ CreateRemoteCompositorBridge(
+ cc::RemoteProtoChannel* remote_proto_channel,
+ scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner);
+
// Allows an embedder to provide a default image decode color space.
virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile();
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698