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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js

Issue 2469113002: DevTools: clang format all the source + clang config landed. (Closed)
Patch Set: for landing Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698