Changeset 202713 in webkit


Ignore:
Timestamp:
Jun 30, 2016 3:29:32 PM (8 years ago)
Author:
Matt Baker
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):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r202711 r202713  
     12016-06-30  Matt Baker  <mattbaker@apple.com>
     2
     3        Web Inspector: add pixel area column to layout timeline view
     4        https://bugs.webkit.org/show_bug.cgi?id=148677
     5        <rdar://problem/22518762>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        The view can simply add the column. LayoutTimelineDataGridNode
     10        already includes area data and cell formatting.
     11
     12        * UserInterface/Views/LayoutTimelineView.js:
     13        (WebInspector.LayoutTimelineView):
     14
    1152016-06-30  Brian Burg  <bburg@apple.com>
    216
  • trunk/Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js

    r202133 r202713  
    3232        console.assert(timeline.type === WebInspector.TimelineRecord.Type.Layout, timeline);
    3333
    34         let columns = {type: {}, name: {}, location: {}, width: {}, height: {}, startTime: {}, totalTime: {}};
     34        let columns = {type: {}, name: {}, location: {}, area: {}, width: {}, height: {}, startTime: {}, totalTime: {}};
    3535
    3636        columns.name.title = WebInspector.UIString("Type");
     
    5555        columns.location.title = WebInspector.UIString("Initiator");
    5656        columns.location.width = "25%";
     57
     58        columns.area.title = WebInspector.UIString("Area");
     59        columns.area.width = "8%";
    5760
    5861        columns.width.title = WebInspector.UIString("Width");
Note: See TracChangeset for help on using the changeset viewer.