Changeset 198511 in webkit
- Timestamp:
- Mar 21, 2016 5:51:43 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r198481 r198511 1 2016-03-21 Matt Baker <mattbaker@apple.com> 2 3 Web Inspector: New icon for Heap Allocations timeline 4 https://bugs.webkit.org/show_bug.cgi?id=155731 5 <rdar://problem/25275494> 6 7 Reviewed by Joseph Pecoraro and Timothy Hatcher. 8 9 * UserInterface/Images/HeapAllocationsInstrument.svg: Added. 10 New artwork from Jon Davis. 11 12 * UserInterface/Views/TimelineIcons.css: 13 (.heap-allocations-icon .icon): 14 (body:not(.mac-platform, .windows-platform) .memory-icon .icon): 15 (body:not(.mac-platform, .windows-platform) .heap-allocations-icon .icon): 16 New icon styles/fallbacks for GTK. 17 18 * UserInterface/Views/TimelineTabContentView.js: 19 (WebInspector.TimelineTabContentView.iconClassNameForTimeline): 20 Add new icon class to UI helper method. 21 1 22 2016-03-20 Dan Bernstein <mitz@apple.com> 2 23 -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css
r197954 r198511 36 36 } 37 37 38 .heap-allocations-icon .icon { 39 content: url(../Images/HeapAllocationsInstrument.svg); 40 } 41 38 42 .layout-icon .icon { 39 43 content: url(../Images/LayoutInstrument.svg); … … 71 75 body:not(.mac-platform, .windows-platform) .rendering-frame-icon .icon { 72 76 content: -webkit-image-set(url(../Images/Frames.png) 1x, url(../Images/Frames@2x.png) 2x); 77 } 78 79 body:not(.mac-platform, .windows-platform) .memory-icon .icon { 80 content: -webkit-image-set(url(../Images/ScriptLarge.png) 1x, url(../Images/ScriptLarge@2x.png) 2x); 81 } 82 83 body:not(.mac-platform, .windows-platform) .heap-allocations-icon .icon { 84 content: -webkit-image-set(url(../Images/ScriptLarge.png) 1x, url(../Images/ScriptLarge@2x.png) 2x); 73 85 } 74 86 -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js
r197974 r198511 138 138 return "memory-icon"; 139 139 case WebInspector.TimelineRecord.Type.HeapAllocations: 140 // FIXME: HeapAllocation Timeline needs a new icon. 141 return "memory-icon"; 140 return "heap-allocations-icon"; 142 141 case WebInspector.TimelineRecord.Type.Script: 143 142 return "script-icon";
Note: See TracChangeset
for help on using the changeset viewer.