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

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

Issue 1155773002: Devtools Animations: Add cubic bezier easing editor for animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove empty line Created 5 years, 7 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: 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 1c42e10a1ceb7c0d5bc9ff58a6060be1b69e3a5c..0dbaca1c34ea9adba244a26ca041ba5e942240d9 100644
--- a/Source/devtools/front_end/sdk/AnimationModel.js
+++ b/Source/devtools/front_end/sdk/AnimationModel.js
@@ -353,7 +353,15 @@ WebInspector.AnimationModel.AnimationNode.prototype = {
*/
easing: function()
{
- return this._payload.easing;
+ return this._easing || this._payload.easing;
+ },
+
+ /**
+ * @param {string} value
+ */
+ setEasing: function(value)
+ {
+ this._easing = value;
dgozman 2015/05/26 12:02:24 This should call protocol method.
samli 2015/05/27 05:21:59 Done.
},
__proto__: WebInspector.SDKObject.prototype

Powered by Google App Engine
This is Rietveld 408576698