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

Unified Diff: cc/trees/layer_tree_host_unittest_animation.cc

Issue 184433007: Remove wall time from NotifyAnimationStarted and NotifyAnimationFinished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_wall_time_step2
Patch Set: Fixing unittests for API update. 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_unittest_animation.cc
diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc
index 165d30b6df17b26288c49418b55905d652c04276..bc1d542b94322b0bd79246accdb2872c0e5ba5ed 100644
--- a/cc/trees/layer_tree_host_unittest_animation.cc
+++ b/cc/trees/layer_tree_host_unittest_animation.cc
@@ -149,7 +149,6 @@ class LayerTreeHostAnimationTestAddAnimation
}
virtual void NotifyAnimationStarted(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
received_animation_started_notification_ = true;
@@ -243,7 +242,6 @@ class LayerTreeHostAnimationTestAnimationsGetDeleted
}
virtual void NotifyAnimationFinished(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
// Animations on the impl-side controller only get deleted during a commit,
@@ -371,7 +369,6 @@ class LayerTreeHostAnimationTestNoBackgroundTickingWithoutActiveTree
}
virtual void NotifyAnimationFinished(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
// Replace animated commits with an empty tree.
@@ -564,7 +561,6 @@ class LayerTreeHostAnimationTestSynchronizeAnimationStartTimes
}
virtual void NotifyAnimationStarted(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
LayerAnimationController* controller =
@@ -622,7 +618,6 @@ class LayerTreeHostAnimationTestAnimationFinishedEvents
}
virtual void NotifyAnimationFinished(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
LayerAnimationController* controller =
@@ -841,14 +836,12 @@ class LayerTreeHostAnimationTestRunAnimationWhenNotCanDraw
}
virtual void NotifyAnimationStarted(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
started_times_++;
}
virtual void NotifyAnimationFinished(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
EndTest();
@@ -893,7 +886,6 @@ class LayerTreeHostAnimationTestRunAnimationWhenNotVisible
}
virtual void NotifyAnimationStarted(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
EXPECT_FALSE(visible_);
@@ -901,7 +893,6 @@ class LayerTreeHostAnimationTestRunAnimationWhenNotVisible
}
virtual void NotifyAnimationFinished(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
EXPECT_FALSE(visible_);
@@ -978,7 +969,6 @@ class LayerTreeHostAnimationTestCheckerboardDoesntStartAnimations
}
virtual void NotifyAnimationStarted(
- double wall_clock_time,
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {
if (TestEnded())
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698