| 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 5c0babe00d0d94335f123b568180d51698558789..8cb7c5764fe57bd413996fd4976b969097577219 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -32,6 +32,7 @@
|
| #include "cc/quads/render_pass.h"
|
| #include "cc/resources/resource_provider.h"
|
| #include "cc/resources/ui_resource_client.h"
|
| +#include "cc/scheduler/begin_frame_tracker.h"
|
| #include "cc/scheduler/commit_earlyout_reason.h"
|
| #include "cc/scheduler/draw_result.h"
|
| #include "cc/scheduler/video_frame_controller.h"
|
| @@ -451,12 +452,12 @@ class CC_EXPORT LayerTreeHostImpl
|
| void SetTreePriority(TreePriority priority);
|
| TreePriority GetTreePriority() const;
|
|
|
| + // TODO(mithro): Remove this methods which exposes the internal
|
| + // BeginFrameArgs to external callers.
|
| virtual BeginFrameArgs CurrentBeginFrameArgs() const;
|
|
|
| // Expected time between two begin impl frame calls.
|
| - base::TimeDelta begin_impl_frame_interval() const {
|
| - return begin_impl_frame_interval_;
|
| - }
|
| + base::TimeDelta CurrentBeginFrameInterval() const;
|
|
|
| void AsValueWithFrameInto(FrameData* frame,
|
| base::trace_event::TracedValue* value) const;
|
| @@ -561,6 +562,8 @@ class CC_EXPORT LayerTreeHostImpl
|
| LayerTreeHostImplClient* client_;
|
| Proxy* proxy_;
|
|
|
| + BeginFrameTracker current_begin_frame_tracker_;
|
| +
|
| private:
|
| gfx::Vector2dF ScrollLayerWithViewportSpaceDelta(
|
| LayerImpl* layer_impl,
|
| @@ -736,11 +739,6 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| gfx::Rect viewport_damage_rect_;
|
|
|
| - BeginFrameArgs current_begin_frame_args_;
|
| -
|
| - // Expected time between two begin impl frame calls.
|
| - base::TimeDelta begin_impl_frame_interval_;
|
| -
|
| scoped_ptr<AnimationRegistrar> animation_registrar_;
|
| std::set<ScrollbarAnimationController*> scrollbar_animation_controllers_;
|
| std::set<VideoFrameController*> video_frame_controllers_;
|
|
|