Title: [103766] trunk/Source/WebCore
Revision
103766
Author
[email protected]
Date
2011-12-28 07:59:15 -0800 (Wed, 28 Dec 2011)

Log Message

Web Inspector: Scripts panel: add debug sidebar resizer to TabbedEditorContainer.
https://bugs.webkit.org/show_bug.cgi?id=75300

Reviewed by Pavel Feldman.

* inspector/front-end/ScriptsPanel.js:
* inspector/front-end/scriptsPanel.css:
(#scripts-debug-sidebar-resizer-widget):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103765 => 103766)


--- trunk/Source/WebCore/ChangeLog	2011-12-28 15:25:05 UTC (rev 103765)
+++ trunk/Source/WebCore/ChangeLog	2011-12-28 15:59:15 UTC (rev 103766)
@@ -1,3 +1,14 @@
+2011-12-28  Vsevolod Vlasov  <[email protected]>
+
+        Web Inspector: Scripts panel: add debug sidebar resizer to TabbedEditorContainer.
+        https://bugs.webkit.org/show_bug.cgi?id=75300
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/ScriptsPanel.js:
+        * inspector/front-end/scriptsPanel.css:
+        (#scripts-debug-sidebar-resizer-widget):
+
 2011-12-28  Alexander Pavlov  <[email protected]>
 
         Web Inspector: Introduce a Profiler launcher view similar to that in the Audits panel

Modified: trunk/Source/WebCore/inspector/compile-front-end.sh (103765 => 103766)


--- trunk/Source/WebCore/inspector/compile-front-end.sh	2011-12-28 15:25:05 UTC (rev 103765)
+++ trunk/Source/WebCore/inspector/compile-front-end.sh	2011-12-28 15:59:15 UTC (rev 103766)
@@ -75,7 +75,7 @@
         --js Source/WebCore/inspector/front-end/ResourceUtils.js \
         --js Source/WebCore/inspector/front-end/NetworkManager.js \
         --js Source/WebCore/inspector/front-end/UISourceCode.js \
-    --module jsmodule_ui:34:jsmodule_common \
+    --module jsmodule_ui:33:jsmodule_common \
         --js Source/WebCore/inspector/front-end/AdvancedSearchController.js \
         --js Source/WebCore/inspector/front-end/Checkbox.js \
         --js Source/WebCore/inspector/front-end/ContextMenu.js \
@@ -109,7 +109,6 @@
         --js Source/WebCore/inspector/front-end/Toolbar.js \
         --js Source/WebCore/inspector/front-end/UIUtils.js \
         --js Source/WebCore/inspector/front-end/View.js \
-        --js Source/WebCore/inspector/front-end/WelcomeView.js \
     --module jsmodule_components:16:jsmodule_sdk,jsmodule_ui \
         --js Source/WebCore/inspector/front-end/ConsoleMessage.js \
         --js Source/WebCore/inspector/front-end/BreakpointsSidebarPane.js \

Modified: trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js (103765 => 103766)


--- trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2011-12-28 15:25:05 UTC (rev 103765)
+++ trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2011-12-28 15:59:15 UTC (rev 103766)
@@ -82,7 +82,6 @@
         this._editorContainer.show(this.editorView.mainElement);
     } else {
         this._fileSelector = new WebInspector.ScriptsPanel.ComboBoxFileSelector(this._presentationModel);
-        this._fileSelector.showDebugSidebarResizeWidget(this.debugSidebarResizeWidgetElement);
         this._fileSelector.addEventListener(WebInspector.ScriptsPanel.FileSelector.Events.ScriptSelected, this._scriptSelected, this);
         this._fileSelector.addEventListener(WebInspector.ScriptsPanel.FileSelector.Events.ReleasedFocusAfterSelection, this._fileSelectorReleasedFocus, this);
         this._fileSelector.show(this.splitView.mainElement);
@@ -90,6 +89,7 @@
         this._editorContainer = new WebInspector.ScriptsPanel.SingleFileEditorContainer();
         this._editorContainer.show(this.splitView.mainElement);
     }
+    this.splitView.mainElement.appendChild(this.debugSidebarResizeWidgetElement);
 
     this.sidebarPanes = {};
     this.sidebarPanes.watchExpressions = new WebInspector.WatchExpressionsSidebarPane();
@@ -1146,14 +1146,6 @@
     },
     
     /**
-     * @param {Element} debugSidebarResizeWidgetElement
-     */
-    showDebugSidebarResizeWidget: function(debugSidebarResizeWidgetElement)
-    {
-        this.editorToolbar.appendChild(debugSidebarResizeWidgetElement);
-    },
-    
-    /**
      * @param {WebInspector.UISourceCode} uiSourceCode
      */
     addUISourceCode: function(uiSourceCode)

Modified: trunk/Source/WebCore/inspector/front-end/scriptsPanel.css (103765 => 103766)


--- trunk/Source/WebCore/inspector/front-end/scriptsPanel.css	2011-12-28 15:25:05 UTC (rev 103765)
+++ trunk/Source/WebCore/inspector/front-end/scriptsPanel.css	2011-12-28 15:59:15 UTC (rev 103766)
@@ -132,13 +132,14 @@
 #scripts-debug-sidebar-resizer-widget {
     position: absolute;
     top: 0;
-    bottom: 0;
+    height: 23px;
     right: 0;
     width: 16px;
     cursor: ew-resize;
     background-image: url(Images/statusbarResizerHorizontal.png);
     background-repeat: no-repeat;
     background-position: center;
+    z-index: 13;
 }
 
 #scripts-navigator-resizer-widget {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to