| Index: third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| index 1ec9f35e4189e75ac59f5401e0eb7f8422abc180..415ad6a8d7c91f7d22bb1749901ca295d562142b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| @@ -74,6 +74,7 @@ WebInspector.InspectorView = function()
|
| this._lastActivePanelSetting = WebInspector.settings.createSetting("lastActivePanel", "elements");
|
|
|
| InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.ShowConsole, showConsole.bind(this));
|
| + InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.ShowSecurityPanel, showSecurityPanel.bind(this));
|
| this._loadPanelDesciptors();
|
|
|
| /**
|
| @@ -84,6 +85,14 @@ WebInspector.InspectorView = function()
|
| this.showPanel("console");
|
| }
|
|
|
| + /**
|
| + * @this {WebInspector.InspectorView}
|
| + */
|
| + function showSecurityPanel()
|
| + {
|
| + this.showPanel("security");
|
| + }
|
| +
|
| WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Events.SuspendStateChanged, this._onSuspendStateChanged.bind(this));
|
| };
|
|
|
|
|