Chromium Code Reviews| Index: content/browser/compositor/image_transport_factory.h |
| diff --git a/content/browser/compositor/image_transport_factory.h b/content/browser/compositor/image_transport_factory.h |
| index 59104613397142885edb61d2fdd08a7684910a50..1c6912f627e21ead0e07873b87d1c61e46465a9f 100644 |
| --- a/content/browser/compositor/image_transport_factory.h |
| +++ b/content/browser/compositor/image_transport_factory.h |
| @@ -64,6 +64,9 @@ class CONTENT_EXPORT ImageTransportFactory { |
| // Gets the factory instance. |
| static ImageTransportFactory* GetInstance(); |
| + // Gets the image transport factory as a context factory for the compositor. |
| + virtual ui::ContextFactory* AsContextFactory() = 0; |
|
piman
2014/05/09 17:52:40
nit: GetContextFactory? The NoTransport version is
sky
2014/05/09 18:04:52
Ha. I nearly went with Get, but then I figured you
|
| + |
| virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0; |
| // Gets a GLHelper instance, associated with the shared context. This |