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

Side by Side Diff: Source/devtools/front_end/elements/AnimationsSidebarPane.js

Issue 895783004: Devtools Animations: Timeline interactions change the underlying style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/elements/AnimationTimeline.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 * @constructor 6 * @constructor
7 * @extends {WebInspector.ElementsSidebarPane} 7 * @extends {WebInspector.ElementsSidebarPane}
8 */ 8 */
9 WebInspector.AnimationsSidebarPane = function(stylesPane) 9 WebInspector.AnimationsSidebarPane = function(stylesPane)
10 { 10 {
11 WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Animation s")); 11 WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Animation s"));
12 this._stylesPane = stylesPane; 12 this._stylesPane = stylesPane;
13 this._timeline = new WebInspector.AnimationTimeline(); 13 this._timeline = new WebInspector.AnimationTimeline(this._stylesPane);
14 this._timeline.show(this.bodyElement); 14 this._timeline.show(this.bodyElement);
15 } 15 }
16 16
17 WebInspector.AnimationsSidebarPane.prototype = { 17 WebInspector.AnimationsSidebarPane.prototype = {
18 /** 18 /**
19 * @override 19 * @override
20 * @param {?WebInspector.DOMNode} node 20 * @param {?WebInspector.DOMNode} node
21 */ 21 */
22 setNode: function(node) 22 setNode: function(node)
23 { 23 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 this._target.animationModel.ensureEnabled(); 63 this._target.animationModel.ensureEnabled();
64 this._timeline.redraw(); 64 this._timeline.redraw();
65 finishCallback(); 65 finishCallback();
66 }, 66 },
67 67
68 __proto__: WebInspector.ElementsSidebarPane.prototype 68 __proto__: WebInspector.ElementsSidebarPane.prototype
69 } 69 }
70 70
71 WebInspector.AnimationsSidebarPane.GlobalPlaybackRates = [0.1, 0.25, 0.5, 1.0]; 71 WebInspector.AnimationsSidebarPane.GlobalPlaybackRates = [0.1, 0.25, 0.5, 1.0];
OLDNEW
« 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