Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index b95607494b9663b0a36a058f7081fa06f4bf20ac..c5e23c8348f582406f3e7f08563fb27d2ebae403 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -51,8 +51,10 @@ public: |
virtual void onHasPendingTreeStateChanged(bool hasPendingTree) = 0; |
virtual void setNeedsRedrawOnImplThread() = 0; |
virtual void didUploadVisibleHighResolutionTileOnImplThread() = 0; |
+ virtual void didDetectIdleRasterOnImplThread() = 0; |
virtual void setNeedsCommitOnImplThread() = 0; |
virtual void setNeedsManageTilesOnImplThread() = 0; |
+ virtual void setNeedsCheckForCompletedRasterTasksOnImplThread() = 0; |
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) = 0; |
// Returns true if resources were deleted by this call. |
virtual bool reduceContentsTextureMemoryOnImplThread(size_t limitBytes, int priorityCutoff) = 0; |
@@ -137,7 +139,9 @@ public: |
// TileManagerClient implementation. |
virtual void ScheduleManageTiles() OVERRIDE; |
+ virtual void ScheduleCheckForCompletedRasterTasks() OVERRIDE; |
virtual void DidUploadVisibleHighResolutionTile() OVERRIDE; |
+ virtual void DidDetectIdleRaster() OVERRIDE; |
// OutputSurfaceClient implementation. |
virtual void OnVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) OVERRIDE; |
@@ -263,6 +267,8 @@ public: |
scoped_ptr<base::Value> activationStateAsValue() const; |
scoped_ptr<base::Value> frameStateAsValue() const; |
+ void checkForCompletedRasterTasks(); |
+ |
protected: |
LayerTreeHostImpl(const LayerTreeSettings&, LayerTreeHostImplClient*, Proxy*); |
void activatePendingTree(); |