Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 178103004: Removing the use of base::Time inside the LayerTreeHost system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating for code which has been split out. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0e3a66b31bc43d420fe4379f1f7b71cb905d5842..255128b04b45df40ed030df1886a1f434b2126ac 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -167,8 +167,7 @@ class CC_EXPORT LayerTreeHostImpl
virtual void BeginMainFrameAborted(bool did_handle);
virtual void BeginCommit();
virtual void CommitComplete();
- virtual void Animate(base::TimeTicks monotonic_time,
- base::Time wall_clock_time);
+ virtual void Animate(base::TimeTicks monotonic_time);
virtual void UpdateAnimationState(bool start_ready_animations);
void MainThreadHasStoppedFlinging();
void UpdateBackgroundAnimateTicking(bool should_background_tick);
@@ -391,7 +390,6 @@ class CC_EXPORT LayerTreeHostImpl
void ResetCurrentFrameTimeForNextFrame();
virtual base::TimeTicks CurrentFrameTimeTicks();
- base::Time CurrentFrameTime();
virtual base::TimeTicks CurrentPhysicalTimeTicks() const;
@@ -448,8 +446,7 @@ class CC_EXPORT LayerTreeHostImpl
void UpdateInnerViewportContainerSize();
// Virtual for testing.
- virtual void AnimateLayers(base::TimeTicks monotonic_time,
- base::Time wall_clock_time);
+ virtual void AnimateLayers(base::TimeTicks monotonic_time);
// Virtual for testing.
virtual base::TimeDelta LowFrequencyAnimationInterval() const;
@@ -508,7 +505,7 @@ class CC_EXPORT LayerTreeHostImpl
void AnimateScrollbarsRecursive(LayerImpl* layer,
base::TimeTicks time);
- void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const;
+ void UpdateCurrentFrameTime(base::TimeTicks* ticks) const;
LayerImpl* FindScrollLayerForDeviceViewportPoint(
const gfx::PointF& device_viewport_point,
@@ -641,7 +638,6 @@ class CC_EXPORT LayerTreeHostImpl
gfx::Rect viewport_damage_rect_;
base::TimeTicks current_frame_timeticks_;
- base::Time current_frame_time_;
scoped_ptr<AnimationRegistrar> animation_registrar_;

Powered by Google App Engine
This is Rietveld 408576698