Web Inspector: replace Range.svg icon
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2018 00:07:24 +0000 (00:07 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2018 00:07:24 +0000 (00:07 +0000)
commit0b82c3a1a5fd7371b0f64a2920bf8e5edca194fd
tree94bfcff25a8ee2bf8b88a64e8db0628bcbe9f09d
parent4433fd7524cfce7b3efee62d713ad07e2b5c73c3
Web Inspector: replace Range.svg icon
https://bugs.webkit.org/show_bug.cgi?id=190372

Reviewed by Joseph Pecoraro.

* UserInterface/Images/Range.svg:
* UserInterface/Images/RangeLarge.svg: Added.

* UserInterface/Models/Resource.js:
(WI.Resource.classNameForResource): Added.
Create a static function for specializing the `className` of `WI.Resource` objects.

* UserInterface/Views/NetworkTableContentView.js:
(WI.NetworkTableContentView.prototype._populateNameCell):

* UserInterface/Views/ResourceTreeElement.js:
(WI.ResourceTreeElement):

* UserInterface/Views/ResourceIcons.css:
(.resource-icon.resource-type-ping .icon, .resource-icon.resource-type-beacon .icon, .large .resource-icon.resource-type-ping .icon, .large .resource-icon.resource-type-beacon .icon):
(.resource-icon.resource-type-range .icon):
(.large .resource-icon.resource-type-range .icon): Added.
Drive-by: added `.large` versions of `ping` and `beacon` icons for the
`WI.OpenResourceDialog` elements.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Images/Range.svg
Source/WebInspectorUI/UserInterface/Images/RangeLarge.svg [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Models/Resource.js
Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js
Source/WebInspectorUI/UserInterface/Views/ResourceIcons.css
Source/WebInspectorUI/UserInterface/Views/ResourceTreeElement.js