| Index: third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| index 6db738a7cc093b0fba9436b158030d3b0871b9f8..16653bc5deb123d06bd1c90e317d1f74103c7749 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| @@ -758,3 +758,29 @@
|
| return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(match[1], 10), match[2]);
|
| return null;
|
| }
|
| +
|
| +/**
|
| + * @constructor
|
| + * @implements {WebInspector.ToolbarItem.Provider}
|
| + */
|
| +WebInspector.AnimationTimeline.ButtonProvider = function()
|
| +{
|
| + this._button = new WebInspector.ToolbarButton(WebInspector.UIString("Animations"), "animation-toolbar-item");
|
| + this._button.addEventListener("click", this._clicked, this);
|
| +}
|
| +
|
| +WebInspector.AnimationTimeline.ButtonProvider.prototype = {
|
| + _clicked: function()
|
| + {
|
| + WebInspector.inspectorView.showViewInDrawer("animations");
|
| + },
|
| +
|
| + /**
|
| + * @override
|
| + * @return {!WebInspector.ToolbarItem}
|
| + */
|
| + item: function()
|
| + {
|
| + return this._button;
|
| + }
|
| +}
|
|
|