Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (225018 => 225019)
--- trunk/Source/WebInspectorUI/ChangeLog 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/ChangeLog 2017-11-18 21:59:03 UTC (rev 225019)
@@ -1,3 +1,23 @@
+2017-11-18 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Update the Trash / Clear icon
+ https://bugs.webkit.org/show_bug.cgi?id=179850
+
+ Reviewed by Matt Baker.
+
+ * UserInterface/Images/NavigationItemTrash.svg:
+ Update the icon.
+
+ * UserInterface/Views/ProbeDetailsSidebarPanel.css:
+ (.sidebar > .panel.probes > .navigation-bar .item.clear-samples):
+ * UserInterface/Views/ProbeSetDetailsSection.js:
+ (WI.ProbeSetDetailsSection):
+ * UserInterface/Views/ScopeChainDetailsSidebarPanel.css:
+ (.scope-chain .navigation-bar .item.clear-watch-expressions):
+ * UserInterface/Views/ScopeChainDetailsSidebarPanel.js:
+ (WI.ScopeChainDetailsSidebarPanel):
+ Resize to 15x15 and move it down a pixel.
+
2017-11-17 Joseph Pecoraro <[email protected]>
Web Inspector: Network Tab - Add HAR Export button
Modified: trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTrash.svg (225018 => 225019)
--- trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTrash.svg 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTrash.svg 2017-11-18 21:59:03 UTC (rev 225019)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2014 Apple Inc. All rights reserved. -->
+<!-- Copyright © 2017 Apple Inc. All rights reserved. -->
<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 15 15">
- <path fill="none" stroke="currentColor" d="M 3.5 14.5 L 2.5 2.5 L 1.5 2.5 L 13.5 2.5 L 12.5 2.5 L 11.5 14.5 L 3.5 14.5 Z"/>
- <rect fill="none" stroke="currentColor" x="5.5" y="0.5" width="4" height="2"/>
- <path fill="none" stroke="currentColor" d="M 5.5 4 L 5.5 13 M 7.5 4 L 7.5 13 M 9.5 4 L 9.5 13"/>
+ <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M 3.5 12.5 l -1 -10 h -1 h 11.9 h -1 l -1 10 H 3.5 z"/>
+ <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M 5.5 2 L 5.5 0.5 L 9.5 0.5 L 9.5 2"/>
+ <line fill="none" stroke="currentColor" stroke-linecap="round" x1="5.5" y1="9.2" x2="9.4" y2="5.3"/>
+ <line fill="none" stroke="currentColor" stroke-linecap="round" x1="5.5" y1="5.2" x2="9.4" y2="9.2"/>
</svg>
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.css (225018 => 225019)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.css 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.css 2017-11-18 21:59:03 UTC (rev 225019)
@@ -30,6 +30,11 @@
right: 0;
}
+.sidebar > .panel.probes > .navigation-bar .item.clear-samples {
+ position: relative;
+ top: 1px;
+}
+
.sidebar > .panel.probes > .content {
position: absolute;
top: 23px;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js (225018 => 225019)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js 2017-11-18 21:59:03 UTC (rev 225019)
@@ -53,7 +53,7 @@
this._addProbeButtonItem.addEventListener(WI.ButtonNavigationItem.Event.Clicked, this._addProbeButtonClicked, this);
this._navigationBar.addNavigationItem(this._addProbeButtonItem);
- this._clearSamplesButtonItem = new WI.ButtonNavigationItem("clear-samples", WI.UIString("Clear samples"), "Images/NavigationItemTrash.svg", 14, 14);
+ this._clearSamplesButtonItem = new WI.ButtonNavigationItem("clear-samples", WI.UIString("Clear samples"), "Images/NavigationItemTrash.svg", 15, 15);
this._clearSamplesButtonItem.addEventListener(WI.ButtonNavigationItem.Event.Clicked, this._clearSamplesButtonClicked, this);
this._clearSamplesButtonItem.enabled = this._probeSetHasSamples();
this._navigationBar.addNavigationItem(this._clearSamplesButtonItem);
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css (225018 => 225019)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css 2017-11-18 21:59:03 UTC (rev 225019)
@@ -58,3 +58,8 @@
padding-bottom: 2px;
}
+
+.scope-chain .navigation-bar .item.clear-watch-expressions {
+ position: relative;
+ top: 1px;
+}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js (225018 => 225019)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js 2017-11-18 20:37:33 UTC (rev 225018)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js 2017-11-18 21:59:03 UTC (rev 225019)
@@ -44,7 +44,7 @@
addWatchExpressionButton.addEventListener(WI.ButtonNavigationItem.Event.Clicked, this._addWatchExpressionButtonClicked, this);
this._navigationBar.addNavigationItem(addWatchExpressionButton);
- this._clearAllWatchExpressionButton = new WI.ButtonNavigationItem("clear-watch-expressions", WI.UIString("Clear watch expressions"), "Images/NavigationItemTrash.svg", 14, 14);
+ this._clearAllWatchExpressionButton = new WI.ButtonNavigationItem("clear-watch-expressions", WI.UIString("Clear watch expressions"), "Images/NavigationItemTrash.svg", 15, 15);
this._clearAllWatchExpressionButton.addEventListener(WI.ButtonNavigationItem.Event.Clicked, this._clearAllWatchExpressionsButtonClicked, this);
this._navigationBar.addNavigationItem(this._clearAllWatchExpressionButton);