| 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 ded20b2d92028bf8cb0939a4987374eeeeaa765d..921587a6208bc577e68ff555945bdde777c1b259 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -108,6 +108,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;
|
| @@ -516,6 +517,9 @@ class CC_EXPORT LayerTreeHostImpl
|
| return frame_timing_tracker_.get();
|
| }
|
|
|
| + void SetBeginMainFrameTime(base::TimeTicks frame_time);
|
| + void RecordMainFrameTiming();
|
| +
|
| protected:
|
| LayerTreeHostImpl(
|
| const LayerTreeSettings& settings,
|
| @@ -733,6 +737,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);
|
| };
|
|
|