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

Unified Diff: Source/devtools/front_end/sdk/AnimationModel.js

Issue 1081753002: Devtools Animations: Support multiple frames in the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/devtools/front_end/elements/AnimationTimeline.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/AnimationModel.js
diff --git a/Source/devtools/front_end/sdk/AnimationModel.js b/Source/devtools/front_end/sdk/AnimationModel.js
index 573293b402253abe935d0204af9832f2782d23e9..1176ae2fa10c16fbd80581aac81c2e3790fa7639 100644
--- a/Source/devtools/front_end/sdk/AnimationModel.js
+++ b/Source/devtools/front_end/sdk/AnimationModel.js
@@ -63,6 +63,14 @@ WebInspector.AnimationModel.prototype = {
this.dispatchEventToListeners(WebInspector.AnimationModel.Events.AnimationPlayerCanceled, { "playerId": playerId });
},
+ /**
+ * @param {number} playbackRate
+ */
+ setPlaybackRate: function(playbackRate)
+ {
+ this._agent.setPlaybackRate(playbackRate);
+ },
+
ensureEnabled: function()
{
if (this._enabled)
« no previous file with comments | « Source/devtools/front_end/elements/AnimationTimeline.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698