Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 11861020: Aura: Browser-side changes for Composite-To-Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index a67253f4ec0c5855281ccb9e6cb7f360665db37d..73366601820141e3c2f5541bfadcfa0c6b755a40 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -27,6 +27,10 @@ struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
struct ViewHostMsg_TextInputState_Params;
struct ViewHostMsg_SelectionBounds_Params;
+namespace cc {
+class CompositorFrame;
+}
+
namespace media {
class VideoFrame;
}
@@ -219,6 +223,10 @@ 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,
+ int render_host_id,
+ int route_id) {}
+
virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
// Gets the bounds of the window, in screen coordinates.

Powered by Google App Engine
This is Rietveld 408576698