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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js

Issue 2566573002: DevTools: Open Elements panel sooner on Inspect Element (Closed)
Patch Set: Missed one showConsolePanel Created 4 years 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: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
index 5e83c1208a293df247fdb48b8041ea57983f2296..e72872cf2d12823338f312a5ea9b54f49aa8a29d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
@@ -58,7 +58,9 @@ UI.InspectorView = class extends UI.VBox {
// Create main area tabbed pane.
this._tabbedLocation = UI.viewManager.createTabbedLocation(
- InspectorFrontendHost.bringToFront.bind(InspectorFrontendHost), 'panel', true, true);
+ InspectorFrontendHost.bringToFront.bind(InspectorFrontendHost), 'panel', true, true,
+ Runtime.queryParam('panel'));
+
this._tabbedPane = this._tabbedLocation.tabbedPane();
this._tabbedPane.registerRequiredCSS('ui/inspectorViewTabbedPane.css');
this._tabbedPane.setTabSlider(true);

Powered by Google App Engine
This is Rietveld 408576698