Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 3529de68e65298e5d04bc1d1d769111898b6421d..126414db9bc5b0db5937e909780cebff25910f31 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -35,6 +35,11 @@ namespace base { |
class TimeTicks; |
} |
+namespace cc { |
+struct CompositorFrame; |
+struct CompositorFrameAck; |
+} |
+ |
namespace ui { |
class KeyEvent; |
class Range; |
@@ -406,6 +411,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
int gpu_host_id); |
#endif |
+ void SwapCompositorFrameAck(const cc::CompositorFrameAck& ack); |
+ |
// Signals that the compositing surface was updated, e.g. after a lost context |
// event. |
void CompositingSurfaceUpdated(); |
@@ -568,6 +575,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
bool last_unlocked_by_target, |
bool privileged); |
void OnMsgUnlockMouse(); |
+ void OnMsgSwapCompositorFrame(const cc::CompositorFrame& frame); |
#if defined(OS_POSIX) || defined(USE_AURA) |
void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |