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

Unified Diff: cc/layers/layer_impl.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/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index b5f2ee25183d93fee72f2c4b3e77dbaf73c61df4..a7a3a7588cbc9aef56e74847759f5692185dd739 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -127,6 +127,9 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void NotifyAnimationAborted(base::TimeTicks monotonic_time,
TargetProperty::Type target_property,
int group) override{};
+ void NotifyAnimationTakeover(base::TimeTicks monotonic_time,
+ double animation_start_time,
+ scoped_ptr<AnimationCurve> curve) override {}
// Tree structure.
LayerImpl* parent() { return parent_; }
@@ -505,9 +508,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void ApplySentScrollDeltasFromAbortedCommit();
void set_main_thread_scrolling_reasons(
- uint32_t main_thread_scrolling_reasons) {
- main_thread_scrolling_reasons_ = main_thread_scrolling_reasons;
- }
+ uint32_t main_thread_scrolling_reasons);
uint32_t main_thread_scrolling_reasons() const {
return main_thread_scrolling_reasons_;
}

Powered by Google App Engine
This is Rietveld 408576698