Index: content/browser/renderer_host/render_widget_host_view_android.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h |
index 978d1f3971317f2ea4b8b36ff5248bc219af15bf..dede4c0cce8906ff85f0f7bac86020dda31cd34a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.h |
+++ b/content/browser/renderer_host/render_widget_host_view_android.h |
@@ -197,6 +197,8 @@ class RenderWidgetHostViewAndroid |
virtual void OnAttachCompositor() OVERRIDE {} |
virtual void OnDetachCompositor() OVERRIDE; |
virtual void OnWillDestroyWindow() OVERRIDE; |
+ virtual void OnVSync(base::TimeTicks frame_time, |
+ base::TimeDelta vsync_period) OVERRIDE; |
// ImageTransportFactoryAndroidObserver implementation. |
virtual void OnLostResources() OVERRIDE; |
@@ -214,7 +216,6 @@ class RenderWidgetHostViewAndroid |
void SendMouseEvent(const blink::WebMouseEvent& event); |
void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
void SendGestureEvent(const blink::WebGestureEvent& event); |
- void SendBeginFrame(const cc::BeginFrameArgs& args); |
void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
void OnDidChangeBodyBackgroundColor(SkColor color); |
@@ -242,10 +243,6 @@ class RenderWidgetHostViewAndroid |
void MoveCaret(const gfx::Point& point); |
- // Returns true when animation ticks are still needed. This avoids a separate |
- // round-trip for requesting follow-up animation. |
- bool Animate(base::TimeTicks frame_time); |
- |
void SynchronousFrameMetadata( |
const cc::CompositorFrameMetadata& frame_metadata); |
@@ -307,6 +304,10 @@ class RenderWidgetHostViewAndroid |
void InternalSwapCompositorFrame(uint32 output_surface_id, |
scoped_ptr<cc::CompositorFrame> frame); |
+ void SetNeedsAnimate(); |
+ bool Animate(base::TimeTicks frame_time); |
+ |
+ |
// The model object. |
RenderWidgetHostImpl* host_; |