Chromium Code Reviews| Index: Source/devtools/front_end/sources/CallStackSidebarPane.js |
| diff --git a/Source/devtools/front_end/sources/CallStackSidebarPane.js b/Source/devtools/front_end/sources/CallStackSidebarPane.js |
| index 9866520943997d4c9f1e5192271d6bb115af4a70..001f97178db300750a4c6bc4e73b13e289d88934 100644 |
| --- a/Source/devtools/front_end/sources/CallStackSidebarPane.js |
| +++ b/Source/devtools/front_end/sources/CallStackSidebarPane.js |
| @@ -32,6 +32,11 @@ WebInspector.CallStackSidebarPane = function() |
| WebInspector.SidebarPane.call(this, WebInspector.UIString("Call Stack")); |
| this.element.addEventListener("keydown", this._keyDown.bind(this), true); |
| this.element.tabIndex = 0; |
| + |
| + var manageBlackboxingButton = new WebInspector.ToolbarButton(WebInspector.UIString("Manage blackboxing"), "filter-small-toolbar-item"); |
| + manageBlackboxingButton.addEventListener("click", this._manageBlackboxingButtonClicked.bind(this)); |
| + this.toolbar().appendToolbarItem(manageBlackboxingButton); |
| + |
| this.callFrameList = new WebInspector.UIList(); |
| this.callFrameList.show(this.element); |
| @@ -46,6 +51,11 @@ WebInspector.CallStackSidebarPane.Events = { |
| } |
| WebInspector.CallStackSidebarPane.prototype = { |
| + _manageBlackboxingButtonClicked: function() |
| + { |
| + WebInspector.Revealer.reveal(WebInspector.moduleSetting("skipStackFramesPattern")); |
|
pfeldman
2015/08/13 23:33:13
Why would we point to it and not click it?
|
| + }, |
| + |
| /** |
| * @param {?WebInspector.DebuggerPausedDetails} details |
| */ |