diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 23:13:04 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 23:13:04 +0000 |
commit | 489ef137ffda2ae698985ada705fc9998f4b25c7 (patch) | |
tree | 9170c228ca5db0fe8341bd90ea53ae7eeb28be31 /content/port | |
parent | 6c4008d6a0b5a83bc0b81df7f1e1d33b5f2d22d8 (diff) | |
download | chromium_src-489ef137ffda2ae698985ada705fc9998f4b25c7.zip chromium_src-489ef137ffda2ae698985ada705fc9998f4b25c7.tar.gz chromium_src-489ef137ffda2ae698985ada705fc9998f4b25c7.tar.bz2 |
ÜC: support DelegatedFrameData in Aura
Note: this tries to share as much as possible from the texture path,
unfortunately there's a bit of impedence mismatch between the
SwapBuffersPrepare/SwapBuffersCompleted steps and what needs to be done for
DelegatedFrameData. It will be easier to do if/when we remove the
TextureImageTransportSurface path.
BUG=146080,123444
Review URL: https://chromiumcodereview.appspot.com/11414092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index 8907d1da..9ab3224 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -8,6 +8,7 @@ #include "base/callback.h" #include "base/process_util.h" #include "base/string16.h" +#include "cc/compositor_frame.h" #include "content/common/content_export.h" #include "content/port/common/input_event_ack_state.h" #include "content/public/browser/render_widget_host_view.h" @@ -27,10 +28,6 @@ struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; struct ViewHostMsg_TextInputState_Params; struct ViewHostMsg_SelectionBounds_Params; -namespace cc { -class CompositorFrame; -} - namespace media { class VideoFrame; } @@ -239,7 +236,7 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, // returned only if the accelerated surface size matches. virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0; - virtual void OnSwapCompositorFrame(const cc::CompositorFrame& frame) = 0; + virtual void OnSwapCompositorFrame(scoped_ptr<cc::CompositorFrame> frame) = 0; virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |