diff options
Diffstat (limited to 'third_party/WebKit/public/platform/WebLayer.h')
-rw-r--r-- | third_party/WebKit/public/platform/WebLayer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h index a0e21b2..6ef2535 100644 --- a/third_party/WebKit/public/platform/WebLayer.h +++ b/third_party/WebKit/public/platform/WebLayer.h @@ -160,6 +160,11 @@ public: // Pauses all animations with the given id. virtual void pauseAnimation(int animationId, double timeOffset) = 0; + // Aborts all animations with the given id. Different from removeAnimation + // in that aborting an animation stops it from affecting both the pending + // and active tree. + virtual void abortAnimation(int animationId) = 0; + // Returns true if this layer has any active animations - useful for tests. virtual bool hasActiveAnimation() = 0; |