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

Unified Diff: Source/devtools/front_end/sources/CallStackSidebarPane.js

Issue 1292673002: [DevTools] Group options in network presets select. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
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
*/

Powered by Google App Engine
This is Rietveld 408576698