Index: chrome/renderer/render_widget.h |
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h |
index ed99bbd9758823db26a40bb84ee43232d8c5f0a2..1d9391cbe8b68910832c57e725cf4fdccbb76a68 100644 |
--- a/chrome/renderer/render_widget.h |
+++ b/chrome/renderer/render_widget.h |
@@ -102,6 +102,7 @@ class RenderWidget : public IPC::Channel::Listener, |
virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); |
virtual void didActivateAcceleratedCompositing(bool active); |
virtual void scheduleComposite(); |
+ virtual void scheduleAnimation(); |
virtual void didFocus(); |
virtual void didBlur(); |
virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
@@ -159,6 +160,7 @@ class RenderWidget : public IPC::Channel::Listener, |
void PaintDebugBorder(const gfx::Rect& rect, skia::PlatformCanvas* canvas); |
void CallDoDeferredUpdate(); |
+ void UpdateAnimationsIfNeeded(); |
void DoDeferredUpdate(); |
void DoDeferredClose(); |
void DoDeferredSetWindowRect(const WebKit::WebRect& pos); |
@@ -364,6 +366,9 @@ class RenderWidget : public IPC::Channel::Listener, |
// compositor. |
bool is_accelerated_compositing_active_; |
+ base::Time animation_floor_time_; |
+ bool animation_update_pending_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
}; |