Index: content/browser/compositor/offscreen_browser_compositor_output_surface.h |
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.h b/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
index e9fbe6d7c5fde873855bfa5a77a9e702b9fb99cf..72b330135940f1035769d63319873535e1bd922e 100644 |
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
#include "base/cancelable_callback.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "content/browser/compositor/browser_compositor_output_surface.h" |
@@ -15,6 +16,8 @@ class CompositorVSyncManager; |
namespace content { |
class CommandBufferProxyImpl; |
+class GLHelper; |
+class OwnedMailbox; |
class OffscreenBrowserCompositorOutputSurface |
: public BrowserCompositorOutputSurface { |
@@ -35,6 +38,9 @@ class OffscreenBrowserCompositorOutputSurface |
void BindFramebuffer() override; |
void SwapBuffers(cc::CompositorFrame* frame) override; |
+ // BrowserCompositorOutputSurface |
+ void OnReflectorChanged() override; |
+ base::Closure CreateCompositionStartedCallback() override; |
#if defined(OS_MACOSX) |
void OnSurfaceDisplayed() override {}; |
void SetSurfaceSuspendedForRecycle(bool suspended) override {}; |
@@ -45,6 +51,9 @@ class OffscreenBrowserCompositorOutputSurface |
bool is_backbuffer_discarded_; |
uint32 backing_texture_id_; |
+ scoped_refptr<OwnedMailbox> mailbox_; |
+ scoped_ptr<GLHelper> offline_compositor_gl_helper_; |
+ |
base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface> |
weak_ptr_factory_; |