| 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..bf8964a4677a14e9e3908d9552533b11cf848d59 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/InspectorView.js
|
| @@ -73,15 +73,17 @@ WebInspector.InspectorView = function()
|
| this._closeBracketIdentifiers = ["U+005D", "U+00DD"].keySet();
|
| this._lastActivePanelSetting = WebInspector.settings.createSetting("lastActivePanel", "elements");
|
|
|
| - InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.ShowConsole, showConsole.bind(this));
|
| + InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.ShowPanel, showPanel.bind(this));
|
| this._loadPanelDesciptors();
|
|
|
| /**
|
| * @this {WebInspector.InspectorView}
|
| + * @param {!WebInspector.Event} event
|
| */
|
| - function showConsole()
|
| + function showPanel(event)
|
| {
|
| - this.showPanel("console");
|
| + var panelName = /** @type {string} */ (event.data);
|
| + this.showPanel(panelName);
|
| }
|
|
|
| WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Events.SuspendStateChanged, this._onSuspendStateChanged.bind(this));
|
|
|