| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| index b80abb420e442970e64a9e32c0622547a65809cb..7d1351515794341a1dfece4192d83fc2e1854aed 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
|
| @@ -209,6 +209,11 @@ WebInspector.ContentScriptsNavigatorView.prototype = {
|
| WebInspector.SnippetsNavigatorView = function()
|
| {
|
| WebInspector.NavigatorView.call(this);
|
| + var toolbar = new WebInspector.Toolbar("snippets-navigator-toolbar");
|
| + var newButton = new WebInspector.ToolbarButton(WebInspector.UIString("New"), "add-toolbar-item");
|
| + newButton.addEventListener("click", this._handleCreateSnippet.bind(this));
|
| + toolbar.appendToolbarItem(newButton);
|
| + this.element.insertBefore(toolbar.element, this.element.firstChild);
|
| }
|
|
|
| WebInspector.SnippetsNavigatorView.prototype = {
|
|
|