| Index: content/browser/aura/gpu_process_transport_factory.h
|
| diff --git a/content/browser/aura/gpu_process_transport_factory.h b/content/browser/aura/gpu_process_transport_factory.h
|
| index 56d3e55498ab08809ab8d00c058e22a8ac775222..a57e9c033475e37ea87b3a1fd35d6b080325bcab 100644
|
| --- a/content/browser/aura/gpu_process_transport_factory.h
|
| +++ b/content/browser/aura/gpu_process_transport_factory.h
|
| @@ -24,9 +24,9 @@ class ReflectorImpl;
|
| class WebGraphicsContext3DCommandBufferImpl;
|
| class WebGraphicsContext3DSwapBuffersClient;
|
|
|
| -class GpuProcessTransportFactory
|
| - : public ui::ContextFactory,
|
| - public ImageTransportFactory {
|
| +class GpuProcessTransportFactory : public ui::ContextFactory,
|
| + public SurfaceCapturingContextFactory,
|
| + public ImageTransportFactory {
|
| public:
|
| GpuProcessTransportFactory();
|
|
|
| @@ -50,8 +50,15 @@ class GpuProcessTransportFactory
|
| OffscreenContextProviderForCompositorThread() OVERRIDE;
|
| virtual bool DoesCreateTestContexts() OVERRIDE;
|
|
|
| + // SurfaceCapturingContextFactory implementation.
|
| + virtual scoped_ptr<SurfaceCapturer> CreateOutputSurfaceCapturer(
|
| + ui::Compositor* compositor,
|
| + SurfaceCapturer::Client* client) OVERRIDE;
|
| +
|
| // ImageTransportFactory implementation.
|
| virtual ui::ContextFactory* AsContextFactory() OVERRIDE;
|
| + virtual SurfaceCapturingContextFactory* AsSurfaceCapturingContextFactory()
|
| + OVERRIDE;
|
| virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE;
|
| virtual void DestroySharedSurfaceHandle(
|
| gfx::GLSurfaceHandle surface) OVERRIDE;
|
|
|