| 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 b6e5903e16c623e8cf8cc82f664a167f8ca21120..aa88c3d816459041d539ab4e92c1d5e62cbe8b97 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -120,6 +120,9 @@ class LayerTreeHostImplClient {
|
| // Called when page scale animation has completed on the impl thread.
|
| virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
|
|
|
| + // Called when output surface asks for a draw.
|
| + virtual void OnDrawForOutputSurface() = 0;
|
| +
|
| protected:
|
| virtual ~LayerTreeHostImplClient() {}
|
| };
|
| @@ -293,6 +296,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| void ReclaimResources(const CompositorFrameAck* ack) override;
|
| void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
|
| void SetTreeActivationCallback(const base::Closure& callback) override;
|
| + void OnDraw() override;
|
|
|
| // Called from LayerTreeImpl.
|
| void OnCanDrawStateChangedForTree();
|
|
|