Title: [202713] trunk/Source/WebInspectorUI
Revision
202713
Author
mattba...@apple.com
Date
2016-06-30 15:29:32 -0700 (Thu, 30 Jun 2016)

Log Message

Web Inspector: add pixel area column to layout timeline view
https://bugs.webkit.org/show_bug.cgi?id=148677
<rdar://problem/22518762>

Reviewed by Timothy Hatcher.

The view can simply add the column. LayoutTimelineDataGridNode
already includes area data and cell formatting.

* UserInterface/Views/LayoutTimelineView.js:
(WebInspector.LayoutTimelineView):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (202712 => 202713)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-06-30 22:18:12 UTC (rev 202712)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-06-30 22:29:32 UTC (rev 202713)
@@ -1,3 +1,17 @@
+2016-06-30  Matt Baker  <mattba...@apple.com>
+
+        Web Inspector: add pixel area column to layout timeline view
+        https://bugs.webkit.org/show_bug.cgi?id=148677
+        <rdar://problem/22518762>
+
+        Reviewed by Timothy Hatcher.
+
+        The view can simply add the column. LayoutTimelineDataGridNode
+        already includes area data and cell formatting.
+
+        * UserInterface/Views/LayoutTimelineView.js:
+        (WebInspector.LayoutTimelineView):
+
 2016-06-30  Brian Burg  <bb...@apple.com>
 
         Web Inspector: the last normal tab cannot be closed with "Close Tab" context menu item

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js (202712 => 202713)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js	2016-06-30 22:18:12 UTC (rev 202712)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js	2016-06-30 22:29:32 UTC (rev 202713)
@@ -31,7 +31,7 @@
 
         console.assert(timeline.type === WebInspector.TimelineRecord.Type.Layout, timeline);
 
-        let columns = {type: {}, name: {}, location: {}, width: {}, height: {}, startTime: {}, totalTime: {}};
+        let columns = {type: {}, name: {}, location: {}, area: {}, width: {}, height: {}, startTime: {}, totalTime: {}};
 
         columns.name.title = WebInspector.UIString("Type");
         columns.name.width = "15%";
@@ -55,6 +55,9 @@
         columns.location.title = WebInspector.UIString("Initiator");
         columns.location.width = "25%";
 
+        columns.area.title = WebInspector.UIString("Area");
+        columns.area.width = "8%";
+
         columns.width.title = WebInspector.UIString("Width");
         columns.width.width = "8%";
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to