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

Unified Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 1534813004: Run smooth scroll animations on the compositor when possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error on mac Created 5 years 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: third_party/WebKit/public/platform/WebLayer.h
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
index a0e21b27b97afc4ed9c85eadeeb1d3b8d6999549..fad1691b996b2c71078827497865288b920aea6f 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -160,6 +160,9 @@ public:
// Pauses all animations with the given id.
virtual void pauseAnimation(int animationId, double timeOffset) = 0;
+ // Aborts all animations with the given id.
skobes 2015/12/18 19:05:58 Explain how aborting is different from removing.
ymalik 2015/12/18 19:35:47 Done.
+ virtual void abortAnimation(int animationId) = 0;
+
// Returns true if this layer has any active animations - useful for tests.
virtual bool hasActiveAnimation() = 0;

Powered by Google App Engine
This is Rietveld 408576698