Index: content/browser/gpu/browser_gpu_channel_host_factory.h |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h |
index 13058e52e041d0d40162a17c3993c9b64fb4a65e..2ecfca5d14a569f72f6ef8dc75ed77cd4da04d67 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
@@ -31,6 +31,11 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
virtual int32 CreateViewCommandBuffer( |
int32 surface_id, |
const GPUCreateCommandBufferConfig& init_params) OVERRIDE; |
+ virtual void CreateImage( |
+ gfx::PluginWindowHandle window, |
+ int32 image_id, |
+ const CreateImageCallback& callback) OVERRIDE; |
+ virtual void DeleteImage(int32 image_id) OVERRIDE; |
virtual GpuChannelHost* EstablishGpuChannelSync( |
CauseForGpuLaunch cause_for_gpu_launch) OVERRIDE; |
@@ -62,6 +67,15 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
int32 surface_id, |
const GPUCreateCommandBufferConfig& init_params); |
static void CommandBufferCreatedOnIO(CreateRequest* request, int32 route_id); |
+ void CreateImageOnIO( |
+ gfx::PluginWindowHandle window, |
+ int32 image_id, |
+ const CreateImageCallback& callback); |
+ static void ImageCreatedOnIO( |
+ const CreateImageCallback& callback, const gfx::Size size); |
+ static void OnImageCreated( |
+ const CreateImageCallback& callback, const gfx::Size size); |
+ void DeleteImageOnIO(int32 image_id); |
void EstablishGpuChannelOnIO(EstablishRequest* request); |
void GpuChannelEstablishedOnIO( |
EstablishRequest* request, |