[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 14:54:43 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e3f877651ab749c30665620d3c52feba8b38c215
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Oct 24 18:58:02 2010 +0000

    2010-10-24  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Timothy Hatcher.
    
            Web Inspector: polish network panel UI.
            https://bugs.webkit.org/show_bug.cgi?id=48205
    
            * inspector/front-end/Images/frame.png:
            * inspector/front-end/Images/networkIcon.png:
            * inspector/front-end/NetworkPanel.js:
            (WebInspector.NetworkPanel.prototype._createTable):
            (WebInspector.NetworkPanel.prototype._setLargerResources):
            (WebInspector.NetworkPanel.prototype._toggleGridMode):
            * inspector/front-end/networkPanel.css:
            (.network.panel .data-grid td):
            (.network.panel .data-grid.small td):
            (#network-views .resource-view.headers-visible .resource-view-content):
            (#network-views.small .resource-view.headers-visible .resource-view-content):
            (#network-views .resource-view-headers):
            (#network-views.small .resource-view-headers):
            (#network-views .resource-view .tabbed-pane-header):
            (#network-views.small .resource-view .tabbed-pane-header):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 63cb671..0739527 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,26 @@
+2010-10-24  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: polish network panel UI.
+        https://bugs.webkit.org/show_bug.cgi?id=48205
+
+        * inspector/front-end/Images/frame.png:
+        * inspector/front-end/Images/networkIcon.png:
+        * inspector/front-end/NetworkPanel.js:
+        (WebInspector.NetworkPanel.prototype._createTable):
+        (WebInspector.NetworkPanel.prototype._setLargerResources):
+        (WebInspector.NetworkPanel.prototype._toggleGridMode):
+        * inspector/front-end/networkPanel.css:
+        (.network.panel .data-grid td):
+        (.network.panel .data-grid.small td):
+        (#network-views .resource-view.headers-visible .resource-view-content):
+        (#network-views.small .resource-view.headers-visible .resource-view-content):
+        (#network-views .resource-view-headers):
+        (#network-views.small .resource-view-headers):
+        (#network-views .resource-view .tabbed-pane-header):
+        (#network-views.small .resource-view .tabbed-pane-header):
+
 2010-10-24  Nikolas Zimmermann  <nzimmermann at rim.com>
 
         Reviewed by Dimitri Glazkov.
diff --git a/WebCore/inspector/front-end/Images/frame.png b/WebCore/inspector/front-end/Images/frame.png
index 7bde3e1..0d1953c 100644
Binary files a/WebCore/inspector/front-end/Images/frame.png and b/WebCore/inspector/front-end/Images/frame.png differ
diff --git a/WebCore/inspector/front-end/Images/networkIcon.png b/WebCore/inspector/front-end/Images/networkIcon.png
index 982424d..ba10bba 100644
Binary files a/WebCore/inspector/front-end/Images/networkIcon.png and b/WebCore/inspector/front-end/Images/networkIcon.png differ
diff --git a/WebCore/inspector/front-end/NetworkPanel.js b/WebCore/inspector/front-end/NetworkPanel.js
index 44f460c..7cbad5b 100644
--- a/WebCore/inspector/front-end/NetworkPanel.js
+++ b/WebCore/inspector/front-end/NetworkPanel.js
@@ -180,7 +180,7 @@ WebInspector.NetworkPanel.prototype = {
 
         columns.type.title = WebInspector.UIString("Type");
         columns.type.sortable = true;
-        columns.type.width = "7%";
+        columns.type.width = "10%";
 
         columns.size.titleDOMFragment = this._makeHeaderFragment(WebInspector.UIString("Size"), WebInspector.UIString("Transfer"));
         columns.size.sortable = true;
@@ -194,7 +194,7 @@ WebInspector.NetworkPanel.prototype = {
 
         columns.timeline.title = "";
         columns.timeline.sortable = false;
-        columns.timeline.width = "40%";
+        columns.timeline.width = "37%";
         columns.timeline.sort = "ascending";
 
         this._dataGrid = new WebInspector.DataGrid(columns);
@@ -251,7 +251,7 @@ WebInspector.NetworkPanel.prototype = {
         timelineSorting.appendChild(option);
 
         var header = this._dataGrid.headerTableHeader("timeline");
-        header.firstChild.appendChild(timelineSorting);
+        header.replaceChild(timelineSorting, header.firstChild);
 
         timelineSorting.addEventListener("click", function(event) { event.stopPropagation() }, false);
         timelineSorting.addEventListener("change", this._sortByTimeline.bind(this), false);
@@ -871,10 +871,12 @@ WebInspector.NetworkPanel.prototype = {
             this._largerResourcesButton.title = WebInspector.UIString("Use large resource rows.");
             this._dataGrid.element.addStyleClass("small");
             this._timelineGrid.element.addStyleClass("small");
+            this._viewsContainerElement.addStyleClass("small");
         } else {
             this._largerResourcesButton.title = WebInspector.UIString("Use small resource rows.");
             this._dataGrid.element.removeStyleClass("small");
             this._timelineGrid.element.removeStyleClass("small");
+            this._viewsContainerElement.removeStyleClass("small");
         }
     },
 
@@ -1013,10 +1015,10 @@ WebInspector.NetworkPanel.prototype = {
             widths.name = 20;
             widths.method = 7;
             widths.status = 8;
-            widths.type = 7;
+            widths.type = 10;
             widths.size = 10;
             widths.time = 10;
-            widths.timeline = 40;
+            widths.timeline = 37;
         }
 
         this._dataGrid.showColumn("timeline");
diff --git a/WebCore/inspector/front-end/networkPanel.css b/WebCore/inspector/front-end/networkPanel.css
index 773fe99..4bbad24 100644
--- a/WebCore/inspector/front-end/networkPanel.css
+++ b/WebCore/inspector/front-end/networkPanel.css
@@ -24,11 +24,16 @@
 
 .network.panel .data-grid td {
     line-height: 17px;
+    height: 37px;
     border-right: 1px solid rgb(210, 210, 210);
     -webkit-user-select: none;
     vertical-align: middle;
 }
 
+.network.panel .data-grid.small td {
+    height: 17px;
+}
+
 .network.panel .data-grid th {
     border-bottom: 1px solid rgb(64%, 64%, 64%);
     height: 30px;
@@ -582,7 +587,19 @@
     padding-top: 5px;
 }
 
-.network.panel .resource-view.headers-visible .resource-view-content {
+#network-views .resource-view.headers-visible .resource-view-content {
+    top: 31px;
+}
+
+#network-views.small .resource-view.headers-visible .resource-view-content {
+    top: 23px;
+}
+
+#network-views .resource-view-headers {
+    top: 31px;
+}
+
+#network-views.small .resource-view-headers {
     top: 23px;
 }
 
@@ -591,7 +608,12 @@
     color: black;
 }
 
-.network.panel .resource-view .tabbed-pane-header {
+#network-views .resource-view .tabbed-pane-header {
+    height: 31px;
+    padding-top: 11px;
+}
+
+#network-views.small .resource-view .tabbed-pane-header {
     height: 23px;
     padding-top: 3px;
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list