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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index 756bdd6b5a7f5bbebb4da679142f93d32293c085..ba246e15f676e8f6ffee6967a1e4722153dbb682 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -1104,7 +1104,7 @@ WebInspector.SourcesPanel.prototype = {
this._extensionSidebarPanesContainer = sidebarPaneStack;
this.sidebarPaneView = vbox;
- this.sidebarPanes.scopechain.expandPane();
+ this.sidebarPanes.scopechain.requestReveal();
this.sidebarPanes.watchExpressions.expandIfNecessary();
} else {
var splitWidget = new WebInspector.SplitWidget(true, true, "sourcesPanelDebuggerSidebarSplitViewState", 0.5);
@@ -1136,9 +1136,9 @@ WebInspector.SourcesPanel.prototype = {
this._addExtensionSidebarPane(extensionSidebarPanes[i]);
this._splitWidget.setSidebarWidget(this.sidebarPaneView);
- this.sidebarPanes.threads.expandPane();
- this.sidebarPanes.jsBreakpoints.expandPane();
- this.sidebarPanes.callstack.expandPane();
+ this.sidebarPanes.threads.requestReveal();
+ this.sidebarPanes.jsBreakpoints.requestReveal();
+ this.sidebarPanes.callstack.requestReveal();
},
/**

Powered by Google App Engine
This is Rietveld 408576698