Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index aa02278444fcbc15f5afd72a148e5335b67782e1..3598a9db957986a1603c0e11c5074be27d8dc094 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -72,10 +72,12 @@ class LayerTreeHostImplClient { |
virtual void BeginFrame(const BeginFrameArgs& args) = 0; |
virtual void OnCanDrawStateChanged(bool can_draw) = 0; |
virtual void NotifyReadyToActivate() = 0; |
- // Please call these 2 functions through |
- // LayerTreeHostImpl's SetNeedsRedraw() and SetNeedsRedrawRect(). |
+ // Please call these 3 functions through |
+ // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and |
+ // SetNeedsAnimate(). |
virtual void SetNeedsRedrawOnImplThread() = 0; |
virtual void SetNeedsRedrawRectOnImplThread(const gfx::Rect& damage_rect) = 0; |
+ virtual void SetNeedsAnimateOnImplThread() = 0; |
virtual void DidInitializeVisibleTileOnImplThread() = 0; |
virtual void SetNeedsCommitOnImplThread() = 0; |
virtual void SetNeedsManageTilesOnImplThread() = 0; |
@@ -138,7 +140,7 @@ class CC_EXPORT LayerTreeHostImpl |
bool anchor_point, |
float page_scale, |
base::TimeDelta duration) OVERRIDE; |
- virtual void ScheduleAnimation() OVERRIDE; |
+ virtual void SetNeedsAnimate() OVERRIDE; |
virtual bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) |
OVERRIDE; |
virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |