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

Unified Diff: Source/WebCore/inspector/front-end/ScriptsPanel.js

Issue 8949013: Merge 102756 - Web Inspector: [Regression] Scripts panel debug sidebar toolbar should not be scro... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/scriptsPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/ScriptsPanel.js
===================================================================
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 102900)
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy)
@@ -53,7 +53,7 @@
this.splitView.minimalSidebarWidth = Preferences.minScriptsSidebarWidth;
this.splitView.minimalMainWidthPercent = minimalViewsContainerWidthPercent;
- this.splitView.sidebarElement.appendChild(this.debugToolbar);
+ this.sidebarElement.appendChild(this.debugToolbar);
this.splitView.mainElement.appendChild(this.editorToolbar);
this.viewsContainerElement = this.splitView.mainElement;
@@ -80,8 +80,12 @@
} else
this.sidebarPanes.workers = new WebInspector.WorkersSidebarPane();
+ this._debugSidebarContentsElement = document.createElement("div");
+ this._debugSidebarContentsElement.id = "scripts-debug-sidebar-contents";
+ this.sidebarElement.appendChild(this._debugSidebarContentsElement);
+
for (var pane in this.sidebarPanes)
- this.sidebarElement.appendChild(this.sidebarPanes[pane].element);
+ this._debugSidebarContentsElement.appendChild(this.sidebarPanes[pane].element);
this.sidebarPanes.callstack.expanded = true;
@@ -178,7 +182,7 @@
{
WebInspector.Panel.prototype.wasShown.call(this);
if (Capabilities.nativeInstrumentationEnabled)
- this.sidebarElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element);
+ this._debugSidebarContentsElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element);
this.sidebarPanes.watchExpressions.show();
},
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/scriptsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698