Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index d3a5858815fbd631fe4c87adebe608f8e224303a..bba524fba714aac27be9b9d07b24a69fa6b56484 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -47,6 +47,7 @@ public: |
virtual void onCanDrawStateChanged(bool canDraw) = 0; |
virtual void onHasPendingTreeStateChanged(bool hasPendingTree) = 0; |
virtual void setNeedsRedrawOnImplThread() = 0; |
+ virtual void setNeedsRedrawOnVisibleTextureUploadOnImplThread() = 0; |
virtual void setNeedsCommitOnImplThread() = 0; |
virtual void setNeedsManageTilesOnImplThread() = 0; |
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) = 0; |
@@ -155,7 +156,8 @@ public: |
LayerTreeImpl* pendingTree() { return m_pendingTree.get(); } |
const LayerTreeImpl* pendingTree() const { return m_pendingTree.get(); } |
void createPendingTree(); |
- void checkForCompletedSetPixels(); |
+ // returns true if newly completed pixels are visible and high resolution |
+ bool checkForCompletedSetPixels(); |
virtual void activatePendingTreeIfNeeded(); |
// Shortcuts to layers on the active tree. |