Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
index e073db004d4d056ec4620eb2943912369ff12bc5..cf0492a428705d3af64498913b1a93bd91318d67 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -58,6 +58,7 @@ struct GpuListenerInfo { |
class CONTENT_EXPORT GpuChannelHostFactory { |
public: |
typedef base::Callback<void(const gfx::Size)> CreateImageCallback; |
+ typedef base::Closure CreateSurfaceTextureCallback; |
virtual ~GpuChannelHostFactory() {} |
@@ -76,6 +77,10 @@ class CONTENT_EXPORT GpuChannelHostFactory { |
size_t width, |
size_t height, |
unsigned internalformat) = 0; |
+ virtual void CreateSurfaceTexture( |
+ int32 surface_texture_id, |
+ int32 process_handle, |
+ const CreateSurfaceTextureCallback& callback) = 0; |
}; |
// Encapsulates an IPC channel between the client and one GPU process. |