Title: [215440] trunk/Source/WebInspectorUI
Revision
215440
Author
j...@apple.com
Date
2017-04-17 16:16:44 -0700 (Mon, 17 Apr 2017)

Log Message

Web Inspector: new icon for Disable Caches button in Network Tab
https://bugs.webkit.org/show_bug.cgi?id=170196

Reviewed by Joseph Pecoraro.

* UserInterface/Images/IgnoreCaches.svg: Added.
Added new art for the Disable Caches button.

* UserInterface/Images/gtk/IgnoreCaches.svg: Added.
Used GTK's StepOver.svg for fallback art for GTK.

* UserInterface/Images/NavigationItemClear.svg:
Improved artwork for Clear Console button icon to match the weight and
style of the Disable Caches button icon.

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

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (215439 => 215440)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-04-17 22:50:37 UTC (rev 215439)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-04-17 23:16:44 UTC (rev 215440)
@@ -1,3 +1,23 @@
+2017-04-17  Jon Davis  <j...@apple.com>
+
+        Web Inspector: new icon for Disable Caches button in Network Tab
+        https://bugs.webkit.org/show_bug.cgi?id=170196
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Images/IgnoreCaches.svg: Added.
+        Added new art for the Disable Caches button. 
+
+        * UserInterface/Images/gtk/IgnoreCaches.svg: Added.
+        Used GTK's StepOver.svg for fallback art for GTK.
+        
+        * UserInterface/Images/NavigationItemClear.svg:
+        Improved artwork for Clear Console button icon to match the weight and 
+        style of the Disable Caches button icon.
+        
+        * UserInterface/Views/NetworkGridContentView.js:
+        (WebInspector.NetworkGridContentView):
+        
 2017-04-17  Matt Baker  <mattba...@apple.com>
 
         Web Inspector: Enabled state of "All Requests" XHR breakpoint not restored correctly

Added: trunk/Source/WebInspectorUI/UserInterface/Images/IgnoreCaches.svg (0 => 215440)


--- trunk/Source/WebInspectorUI/UserInterface/Images/IgnoreCaches.svg	                        (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/IgnoreCaches.svg	2017-04-17 23:16:44 UTC (rev 215440)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright © 2017 Apple Inc. All rights reserved. -->
+<svg xmlns="http://www.w3.org/2000/svg" id="root" viewBox="0 0 16 16">
+    <path fill="currentColor" d="M 11.9998221 10.0410502C 11.0811524 10.6435875 9.61857097 11 7.99238439 11 6.36619781 11 4.90361635 10.6435875 3.9849467 10.0410502L 3.9849467 11.5 2.9849467 11.5 2.9849467 8.5C 2.9849467 7.0082487 5.25725579 6 7.99238439 6 10.727513 6 12.9998221 7.0082487 12.9998221 8.5L 12.9998221 11.5 11.9998221 11.5 11.9998221 10.0410502 11.9998221 10.0410502zM 2.98000002 11.5L 3.98000002 11.5C 3.98000002 12.2173877 5.74378811 13 7.98743771 13 10.2310873 13 11.9948754 12.2173877 11.9948754 11.5L 12.9948754 11.5C 12.9948754 12.9917513 10.7225663 14 7.98743771 14 5.25230911 14 2.98000002 12.9917513 2.98000002 11.5zM 7.99238439 10C 10.236034 10 11.9998221 9.2173877 11.9998221 8.5 11.9998221 7.7826123 10.236034 7 7.99238439 7 5.74873479 7 3.9849467 7.7826123 3.9849467 8.5 3.9849467 9.2173877 5.74873479 10 7.99238439 10zM 14.006725 3.24933797C 11.0124982.107058363 3.67995721.257054505 1.09990772 3.69932639L .8000308 4.09941867 1.60021536 4.69917251 1
 .90009228 4.29908023C 4.11617595 1.34240728 10.793029 1.23749919 13.325665 3.98435594L 13.3068099 4.00340479 11 4.00340479 11 5.00340479 15 5.00340479 15 1 14.006725 1 14.006725 3.24933797 14.006725 3.24933797z"/>
+</svg>
\ No newline at end of file

Modified: trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemClear.svg (215439 => 215440)


--- trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemClear.svg	2017-04-17 22:50:37 UTC (rev 215439)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemClear.svg	2017-04-17 23:16:44 UTC (rev 215440)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- Copyright © 2017 Apple Inc. All rights reserved. -->
 <svg xmlns="http://www.w3.org/2000/svg" id="root" viewBox="0 0 16 16">
-    <path fill="currentColor" fill-rule="evenodd" d="M 6.85268842 1.31225524 L 2.2924099 1.31225524 C 1.02521157 1.31225524 0 2.33984362 0 3.60743812 L 0 12.729684 L 1.14285714 12.7391526 L 1.14285714 12.6691677 L 1.14358757 12.6691523 C 1.14213118 12.5505612 1.15865867 12.3224063 1.21233688 11.9970222 C 1.30136713 11.4573428 1.46586283 10.8392793 1.72513981 10.1519913 C 2.43346319 8.27437684 3.70022787 6.24707859 5.66336654 4.13473232 L 8.07379426 6.54516004 C 6.2997923 8.95249292 5.83493999 10.7203417 5.78635567 13.8907914 L 5.77971622 13.8907988 L 5.78225654 14.3244001 C 5.78185029 14.4262334 5.78180246 14.5294892 5.78208681 14.6342277 C 5.78258859 14.8189069 5.78258859 14.8189069 5.7827549 15.0017468 L 5.78622489 15.0017468 L 5.78641183 15.0336559 L 13.7075901 15.0248668 C 14.9747884 15.0248668 16 13.9972785 16 12.729684 L 16 3.60743812 C 16 2.34292982 14.9736531 1.31225524 13.7075901 1.31225524 L 9.47719891 1.31225524 L 8.16494367 0 L 6.8
 5268842 1.31225524 L 6.85268842 1.31225524 Z M 8.97096491 7.25423676 C 7.84755495 8.78544902 7.31340061 10.0146365 7.08158958 11.6437637 L 14.9321757 11.6005727 L 14.8678561 4.73915256 L 13.7142857 4.73915256 L 13.7142857 3.59629542 L 14.8571429 3.59629542 C 14.8571429 2.96772377 14.3428563 2.45343828 13.7142857 2.45050859 L 10.6162464 2.45130276 L 12.1950727 4.030129 L 8.97096491 7.25423676 L 8.97096491 7.25423676 Z M 5.71238381 2.45255986 L 2.28571429 2.45343828 C 1.65714373 2.45343828 1.14285714 2.96772377 1.14285714 3.59629542 L 4.60612667 3.59629542 C 4.68781604 3.50633989 4.77068025 3.41627117 4.85472816 3.32609397 L 4.84678894 3.31815472 L 5.71238381 2.45255986 Z M 1.14285714 8.60749667 L 1.14285714 4.73915256 L 3.62561145 4.73915256 C 2.55552925 6.0633814 1.73771096 7.35803319 1.14285714 8.60749667 L 1.14285714 8.60749667 Z M 6.92928635 13.8895254 L 13.7142857 13.8820097 C 14.3350157 13.8820097 14.8459386 13.3804732 14.9393236 12.7434078 L 6.96927289 12.787256 C 6.94811354 1
 3.1334719 6.93542219 13.4993353 6.92928635 13.8895254 Z M 6.46303301 3.31815472 L 8.87691794 5.73203965 L 10.5788286 4.030129 L 8.16494367 1.61624407 L 6.46303301 3.31815472 Z"/>
+    <path fill="currentColor" d="M 9.38066676 6.71328638 L 9.38084131 6.71345522 L 9.03321313 7.07283614 C 8.34006053 7.78942309 7.82996463 8.86291236 7.48930595 10.201304 C 7.34290914 10.7764729 7.23264093 11.3805021 7.15379764 12.000095 L 16 12.000095 L 16 13.000095 L 7.05390553 13.000095 C 7.01158674 13.5672195 6.99999574 14.0064243 7 14.500095 L 7 15.000095 L 6 15.000095 L 5.99999998 14.4963579 C 5.99999528 13.9539593 6.0136353 13.4688203 6.06463707 12.8219901 C 6.14246564 11.834929 6.28819758 10.8661584 6.52020482 9.95464025 C 6.88091812 8.53745734 7.42329613 7.36284812 8.19034778 6.51060821 L 5.53467726 3.85493768 C 1.85676337 7.51654858 1 9.65694564 1 12.500095 L 1 13.000095 L -3.55271368e-15 13.000095 L -3.55271368e-15 12.7467876 L 0 3.19556419 C 0 3.12968996 0.00288278561 3.06449331 0.00852984359 3.00009504 L 1 3.19556419 C 1 3.1289629 1.00536922 3.06366984 1.01569858 3.00009504 L 3 3.00009504 L 3 4.00009504 L 1 4.00009504 L 1 8.03017961 C 1.730
 47296 6.57670057 2.93656495 5.02763459 4.85309317 3.12243561 L 4.97295074 3.00328655 L 7.89824887 0.0779884347 L 11.9571068 4.13684636 L 9.38066676 6.71328638 Z M 16 3.00009504 L 16 4.00009504 L 13.0083506 4.00009504 L 13.0083506 3.00009504 L 16 3.00009504 Z M 0 12.9934802 L 0 3.19556419 C 0 1.98298757 0.976786375 1 2.19118333 1 L 4.55065918 1 L 4.05065918 1 L 4.05065918 1.99804688 L 5.05065918 1.99804688 L 2.19118333 2 C 1.53128332 2 1 2.53305798 1 3.19556419 L 1 10.8164508 L 0 12.9934802 Z M 13.7911896 14.000095 C 14.4583628 14.000095 15 13.4602011 15 12.7971792 L 15 3.20291582 C 15 2.5363078 14.466244 2 13.8088167 2 L 11.0236867 2 L 11.0236867 1 L 13.8088167 1 C 15.0189738 1 16 1.9844595 16 3.20291582 L 16 12.7971792 C 16 14.013816 15.009318 15.000095 13.7911896 15.000095 L 6.04737349 15.000095 L 6.40282202 14.000095 L 13.7911896 14.000095 Z M 13.7911896 14.000095 C 14.4583628 14.000095 15 13.4602011 15 12.7971792 L 15 3.20291582 C 15 2.5363078 14.466244 2 13.8088167 2 L 11.02368
 67 2 L 11.0236867 1 L 13.8088167 1 C 15.0189738 1 16 1.9844595 16 3.20291582 L 16 12.7971792 C 16 14.013816 15.009318 15.000095 13.7911896 15.000095 L 6.04737349 15.000095 L 6.40282202 14.000095 L 13.7911896 14.000095 Z M 8.88684636 5.79289322 L 10.5428932 4.13684636 L 7.89824887 1.49220199 L 6.242202 3.14824886 L 8.88684636 5.79289322 Z"/>
 </svg>

Added: trunk/Source/WebInspectorUI/UserInterface/Images/gtk/IgnoreCaches.svg (0 => 215440)


--- trunk/Source/WebInspectorUI/UserInterface/Images/gtk/IgnoreCaches.svg	                        (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/gtk/IgnoreCaches.svg	2017-04-17 23:16:44 UTC (rev 215440)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed under the Creative Commons Attribution-Share Alike 3.0 United States License (http://creativecommons.org/licenses/by-sa/3.0/) -->
+<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 16 16">
+ <rect fill="currentColor" width="2.9023" height="8" x="12.098" y="-12" transform="rotate(90)" rx="0" ry="0"/>
+ <path fill="currentColor" d="m0.66428 7.6325 1.4142 1.4142 4.794-4.794c0.59416-0.59416 1.5272-0.59416 2.1213 0l2.8947 2.8947h-1.812c-0.26372 0.0054-0.54756 0.10561-0.7292 0.28726l-0.70711 0.70711 0.70711 0.70711c0.21881 0.21881 0.4544 0.3267 0.7292 0.33146l5.2149-0.0442 0.04419-5.2149c-0.0048-0.2748-0.11264-0.51039-0.33146-0.7292l-0.7071-0.7071-0.70711 0.70711c-0.18165 0.18165-0.28187 0.46548-0.28726 0.7292v1.812l-2.8947-2.8947c-1.3585-1.3585-3.5913-1.3585-4.9497 0z"/>
+</svg>
\ No newline at end of file

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js (215439 => 215440)


--- trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js	2017-04-17 22:50:37 UTC (rev 215439)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js	2017-04-17 23:16:44 UTC (rev 215440)
@@ -132,7 +132,7 @@
         if (window.NetworkAgent && NetworkAgent.setResourceCachingDisabled) {
             let toolTipForDisableResourceCache = WebInspector.UIString("Ignore the resource cache when loading resources");
             let activatedToolTipForDisableResourceCache = WebInspector.UIString("Use the resource cache when loading resources");
-            this._disableResourceCacheNavigationItem = new WebInspector.ActivateButtonNavigationItem("disable-resource-cache", toolTipForDisableResourceCache, activatedToolTipForDisableResourceCache, "Images/StepOver.svg", 16, 16);
+            this._disableResourceCacheNavigationItem = new WebInspector.ActivateButtonNavigationItem("disable-resource-cache", toolTipForDisableResourceCache, activatedToolTipForDisableResourceCache, "Images/IgnoreCaches.svg", 16, 16);
             this._disableResourceCacheNavigationItem.activated = WebInspector.resourceCachingDisabledSetting.value;
 
             this._disableResourceCacheNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._toggleDisableResourceCache, this);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to