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 14d85506bf142819d1b5ed5591806ddbeef7ffe0..142286d8974b9d1d7b68d1a2e69bc16981e7a64f 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,13 @@ 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. |
+ virtual std::unique_ptr<cc::RemoteCompositorBridge> |
+ CreateRemoteCompositorBridge( |
+ cc::RemoteProtoChannel* remote_proto_channel, |
Wez
2016/10/13 16:53:53
What is the lifetime requirement on this parameter
Khushal
2016/10/13 18:47:28
Done.
|
+ 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(); |