Chromium Code Reviews| Index: ui/ozone/public/surface_factory_ozone.h |
| diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h |
| index 08b977459b202f92cf470fe491f46ca144e72bbf..f5b7bd77cffdc03577bdf9521d7d6814bb91a920 100644 |
| --- a/ui/ozone/public/surface_factory_ozone.h |
| +++ b/ui/ozone/public/surface_factory_ozone.h |
| @@ -90,6 +90,12 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone { |
| virtual scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget( |
| gfx::AcceleratedWidget widget); |
| + // Create an EGL surface that isn't backed by any buffers, and is used |
| + // for overlay-only displays. This will return NULL if this mode is |
| + // not supported. |
| + virtual scoped_ptr<SurfaceOzoneEGL> CreateEmptyEGLSurfaceForWidget( |
|
dnicoara
2014/08/07 14:48:21
nit: I don't like naming it Empty. Surfaceless is
|
| + gfx::AcceleratedWidget widget); |
| + |
| // Create SurfaceOzoneCanvas for the specified gfx::AcceleratedWidget. |
| // |
| // Note: The platform must support creation of SurfaceOzoneCanvas from the |