Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index e60f96eb423a23eedb726311378c1b29ac99c919..7aee2f01b5e7047a5e67a7eaf5e98239687ecc69 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -136,6 +136,9 @@ class CC_EXPORT LayerTreeHost { |
void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider); |
bool UpdateLayers(ResourceUpdateQueue* queue); |
+ // Called when the compositor completed page scale animation. |
+ void DidCompletePageScaleAnimation(); |
+ |
LayerTreeHostClient* client() { return client_; } |
const base::WeakPtr<InputHandler>& GetInputHandler() { |
return input_handler_weak_ptr_; |
@@ -448,6 +451,10 @@ class CC_EXPORT LayerTreeHost { |
scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
+ // If set, then page scale animation has completed, but the client hasn't been |
+ // notified about it yet. |
+ bool did_complete_scale_animation_; |
+ |
bool in_paint_layer_contents_; |
static const int kTotalFramesToUseForLCDTextMetrics = 50; |