Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * @constructor | 7 * @constructor |
| 8 * @extends {WebInspector.SDKModel} | 8 * @extends {WebInspector.SDKModel} |
| 9 * @param {!WebInspector.Target} target | 9 * @param {!WebInspector.Target} target |
| 10 */ | 10 */ |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 keyframesRule: function() | 346 keyframesRule: function() |
| 347 { | 347 { |
| 348 return this._keyframesRule; | 348 return this._keyframesRule; |
| 349 }, | 349 }, |
| 350 | 350 |
| 351 /** | 351 /** |
| 352 * @return {string} | 352 * @return {string} |
| 353 */ | 353 */ |
| 354 easing: function() | 354 easing: function() |
| 355 { | 355 { |
| 356 return this._payload.easing; | 356 return this._easing || this._payload.easing; |
| 357 }, | |
| 358 | |
| 359 /** | |
| 360 * @param {string} value | |
| 361 */ | |
| 362 setEasing: function(value) | |
| 363 { | |
| 364 this._easing = value; | |
|
dgozman
2015/05/26 12:02:24
This should call protocol method.
samli
2015/05/27 05:21:59
Done.
| |
| 357 }, | 365 }, |
| 358 | 366 |
| 359 __proto__: WebInspector.SDKObject.prototype | 367 __proto__: WebInspector.SDKObject.prototype |
| 360 } | 368 } |
| 361 | 369 |
| 362 /** | 370 /** |
| 363 * @constructor | 371 * @constructor |
| 364 * @extends {WebInspector.SDKObject} | 372 * @extends {WebInspector.SDKObject} |
| 365 * @param {!WebInspector.Target} target | 373 * @param {!WebInspector.Target} target |
| 366 * @param {!AnimationAgent.KeyframesRule} payload | 374 * @param {!AnimationAgent.KeyframesRule} payload |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 475 | 483 |
| 476 /** | 484 /** |
| 477 * @override | 485 * @override |
| 478 * @param {string} playerId | 486 * @param {string} playerId |
| 479 */ | 487 */ |
| 480 animationPlayerCanceled: function(playerId) | 488 animationPlayerCanceled: function(playerId) |
| 481 { | 489 { |
| 482 this._animationModel.animationPlayerCanceled(playerId); | 490 this._animationModel.animationPlayerCanceled(playerId); |
| 483 } | 491 } |
| 484 } | 492 } |
| OLD | NEW |