| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 * @implements {WebInspector.TargetManager.Observer} | 5 * @implements {WebInspector.TargetManager.Observer} |
| 6 * @unrestricted | 6 * @unrestricted |
| 7 */ | 7 */ |
| 8 WebInspector.AnimationTimeline = class extends WebInspector.VBox { | 8 WebInspector.AnimationTimeline = class extends WebInspector.VBox { |
| 9 constructor() { | 9 constructor() { |
| 10 super(true); | 10 super(true); |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 static parse(text) { | 732 static parse(text) { |
| 733 var match = text.match(/^steps\((\d+), (start|middle)\)$/); | 733 var match = text.match(/^steps\((\d+), (start|middle)\)$/); |
| 734 if (match) | 734 if (match) |
| 735 return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(matc
h[1], 10), match[2]); | 735 return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(matc
h[1], 10), match[2]); |
| 736 match = text.match(/^steps\((\d+)\)$/); | 736 match = text.match(/^steps\((\d+)\)$/); |
| 737 if (match) | 737 if (match) |
| 738 return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(matc
h[1], 10), 'end'); | 738 return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(matc
h[1], 10), 'end'); |
| 739 return null; | 739 return null; |
| 740 } | 740 } |
| 741 }; | 741 }; |
| 742 | |
| 743 | |
| OLD | NEW |