| 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 f666f0ed6eca9b0a8ecf1261093e2b3868f1cdd4..f7ba1c0f7bf58f8ddd2101532eaa0f03b9904446 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -107,6 +107,7 @@ class LayerTreeHostImplClient {
|
| base::TimeDelta delay) = 0;
|
| virtual void DidActivateSyncTree() = 0;
|
| virtual void DidPrepareTiles() = 0;
|
| + virtual base::TimeTicks GetNextBeginImplFrameTimeIfRequested() const = 0;
|
|
|
| // Called when page scale animation has completed on the impl thread.
|
| virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
|
| @@ -518,6 +519,9 @@ class CC_EXPORT LayerTreeHostImpl
|
| return frame_timing_tracker_.get();
|
| }
|
|
|
| + void SetBeginMainFrameTime(base::TimeTicks frame_time);
|
| + void RecordMainFrameTiming();
|
| +
|
| protected:
|
| LayerTreeHostImpl(
|
| const LayerTreeSettings& settings,
|
| @@ -728,6 +732,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| bool is_likely_to_require_a_draw_;
|
|
|
| scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
|
| + base::TimeTicks main_frame_time_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
|
| };
|
|
|