Index: content/common/gpu/media/rendering_helper.h |
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h |
index 1ebc91bf1b65cc472a98320894666101eab3189b..7afac54e6d5a751dedb46cde95156309028b15fd 100644 |
--- a/content/common/gpu/media/rendering_helper.h |
+++ b/content/common/gpu/media/rendering_helper.h |
@@ -110,8 +110,11 @@ class RenderingHelper { |
// Get the platform specific handle to the OpenGL display. |
void* GetGLDisplay(); |
+ // Get the GL context. |
+ scoped_refptr<gfx::GLContext> GetGLContext(); |
+ |
// Get the platform specific handle to the OpenGL context. |
- void* GetGLContext(); |
+ void* GetGLContextHandle(); |
// Get rendered thumbnails as RGB. |
// Sets alpha_solid to true if the alpha channel is entirely 0xff. |
@@ -158,6 +161,11 @@ class RenderingHelper { |
scoped_refptr<gfx::GLContext> gl_context_; |
scoped_refptr<gfx::GLSurface> gl_surface_; |
+#if defined(USE_OZONE) |
+ class StubOzoneDelegate; |
+ scoped_ptr<StubOzoneDelegate> platform_window_delegate_; |
+#endif |
+ |
gfx::AcceleratedWidget window_; |
gfx::Size screen_size_; |