Web Inspector: Web Socket Document Icon
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2017 21:44:36 +0000 (21:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2017 21:44:36 +0000 (21:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=170023

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-05-18
Reviewed by Matt Baker.

Icons made by Jon Davis.

* UserInterface/Images/WebSocket.png: Added.
* UserInterface/Images/WebSocket@2x.png: Added.
* UserInterface/Images/WebSocketLarge.png: Added.
* UserInterface/Images/WebSocketLarge@2x.png: Added.
New icons for Web Socket resources.

* UserInterface/Views/ResourceIcons.css:
(body:matches(.mac-platform, .windows-platform) .resource-icon.resource-type-websocket .icon):
(body:matches(.mac-platform, .windows-platform) .large .resource-icon.resource-type-websocket .icon):
Use the icon.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217067 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Images/WebSocket.png [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Images/WebSocket@2x.png [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Images/WebSocketLarge.png [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Images/WebSocketLarge@2x.png [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Views/ResourceIcons.css

index b4ab1f3..bd99e84 100644 (file)
@@ -1,3 +1,23 @@
+2017-05-18  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Web Socket Document Icon
+        https://bugs.webkit.org/show_bug.cgi?id=170023
+
+        Reviewed by Matt Baker.
+
+        Icons made by Jon Davis.
+
+        * UserInterface/Images/WebSocket.png: Added.
+        * UserInterface/Images/WebSocket@2x.png: Added.
+        * UserInterface/Images/WebSocketLarge.png: Added.
+        * UserInterface/Images/WebSocketLarge@2x.png: Added.
+        New icons for Web Socket resources.
+
+        * UserInterface/Views/ResourceIcons.css:
+        (body:matches(.mac-platform, .windows-platform) .resource-icon.resource-type-websocket .icon):
+        (body:matches(.mac-platform, .windows-platform) .large .resource-icon.resource-type-websocket .icon):
+        Use the icon.
+
 2017-05-18  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         Web Inspector: [GTK] Adopt currentColor for mask SVG images
diff --git a/Source/WebInspectorUI/UserInterface/Images/WebSocket.png b/Source/WebInspectorUI/UserInterface/Images/WebSocket.png
new file mode 100644 (file)
index 0000000..e6c21e4
Binary files /dev/null and b/Source/WebInspectorUI/UserInterface/Images/WebSocket.png differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/WebSocket@2x.png b/Source/WebInspectorUI/UserInterface/Images/WebSocket@2x.png
new file mode 100644 (file)
index 0000000..28c8371
Binary files /dev/null and b/Source/WebInspectorUI/UserInterface/Images/WebSocket@2x.png differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge.png b/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge.png
new file mode 100644 (file)
index 0000000..4a068c5
Binary files /dev/null and b/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge.png differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge@2x.png b/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge@2x.png
new file mode 100644 (file)
index 0000000..cf51794
Binary files /dev/null and b/Source/WebInspectorUI/UserInterface/Images/WebSocketLarge@2x.png differ
index 60ebd45..cbf9f65 100644 (file)
     content: image-set(url(../Images/WorkerScript.png) 1x, url(../Images/WorkerScript@2x.png) 2x);
 }
 
+/* FIXME: <https://webkit.org/b/172296> [GTK] Web Inspector: Add new GTK+ icons for Web Sockets */
+body:matches(.mac-platform, .windows-platform) .resource-icon.resource-type-websocket .icon {
+    content: image-set(url(../Images/WebSocket.png) 1x, url(../Images/WebSocket@2x.png) 2x);
+}
+
 .large .resource-icon .icon {
     content: image-set(url(../Images/DocumentGenericLarge.png) 1x, url(../Images/DocumentGenericLarge@2x.png) 2x);
 }
 .large .script.worker-icon .icon {
     content: image-set(url(../Images/WorkerScriptLarge.png) 1x, url(../Images/WorkerScriptLarge@2x.png) 2x);
 }
+
+/* FIXME: <https://webkit.org/b/172296> [GTK] Web Inspector: Add new GTK+ icons for Web Sockets */
+body:matches(.mac-platform, .windows-platform) .large .resource-icon.resource-type-websocket .icon {
+    content: image-set(url(../Images/WebSocketLarge.png) 1x, url(../Images/WebSocketLarge@2x.png) 2x);
+}