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

Unified Diff: cc/blink/web_to_cc_animation_delegate_adapter.h

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make NotifyAnimationTakeover pure virtual Created 4 years, 10 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/blink/web_to_cc_animation_delegate_adapter.h
diff --git a/cc/blink/web_to_cc_animation_delegate_adapter.h b/cc/blink/web_to_cc_animation_delegate_adapter.h
index 09787365604e643bc911f0201335f92bbb4fc6e4..58ea15fc5cebd25f390dac17b44c6bb7d45502e6 100644
--- a/cc/blink/web_to_cc_animation_delegate_adapter.h
+++ b/cc/blink/web_to_cc_animation_delegate_adapter.h
@@ -30,6 +30,9 @@ class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate {
void NotifyAnimationAborted(base::TimeTicks monotonic_time,
cc::TargetProperty::Type target_property,
int group) override;
+ void NotifyAnimationTakeover(base::TimeTicks monotonic_time,
+ double animation_start_time,
+ scoped_ptr<cc::AnimationCurve> curve) override {}
blink::WebCompositorAnimationDelegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698