Title: [199177] trunk/Source/WebInspectorUI
Revision
199177
Author
[email protected]
Date
2016-04-07 13:59:27 -0700 (Thu, 07 Apr 2016)

Log Message

Web Inspector: Take snapshot navigation button should match navigation button styles
https://bugs.webkit.org/show_bug.cgi?id=156355
<rdar://problem/25325172>

Patch by Joseph Pecoraro <[email protected]> on 2016-04-07
Reviewed by Timothy Hatcher.

* UserInterface/Images/Camera.svg: Added.
* UserInterface/Views/HeapAllocationsTimelineView.js:
(WebInspector.HeapAllocationsTimelineView):
Use the new image for the navigation bar button.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (199176 => 199177)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-04-07 20:38:03 UTC (rev 199176)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-04-07 20:59:27 UTC (rev 199177)
@@ -1,5 +1,18 @@
 2016-04-07  Joseph Pecoraro  <[email protected]>
 
+        Web Inspector: Take snapshot navigation button should match navigation button styles
+        https://bugs.webkit.org/show_bug.cgi?id=156355
+        <rdar://problem/25325172>
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Images/Camera.svg: Added.
+        * UserInterface/Views/HeapAllocationsTimelineView.js:
+        (WebInspector.HeapAllocationsTimelineView):
+        Use the new image for the navigation bar button.
+
+2016-04-07  Joseph Pecoraro  <[email protected]>
+
         Web Inspector: Inspector hangs when trying to view a large XHR resource
         https://bugs.webkit.org/show_bug.cgi?id=144107
         <rdar://problem/20669463>

Added: trunk/Source/WebInspectorUI/UserInterface/Images/Camera.svg (0 => 199177)


--- trunk/Source/WebInspectorUI/UserInterface/Images/Camera.svg	                        (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/Camera.svg	2016-04-07 20:59:27 UTC (rev 199177)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright © 2016 Apple Inc. All rights reserved. -->
+<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 16 16">
+    <path d="M 12 3.5 L 11.5 2.41528547 C 11.5 2.41528547 11.0826911 1.5 10.5 1.5 L 5.5 1.5 C 4.91636759 1.5 4.5 2.41528544 4.5 2.41528544 L 4 3.5 L 2.38174379 3.5 C 2.38174379 3.5 0.5 3.65837937 0.5 5.5 L 0.5 12.5 C 0.5 14.3416206 2.38174379 14.5 2.38174379 14.5 L 13.5 14.5 C 13.5 14.5 15.5 14.3416206 15.5 12.5 L 15.5 5.5 C 15.5 3.65837937 13.5 3.5 13.5 3.5 L 12 3.5 Z" fill="none" stroke="currentColor"/>
+    <path d="M 8 12.5 C 10.209139 12.5 12 10.709139 12 8.5 C 12 6.290861 10.209139 4.5 8 4.5 C 5.790861 4.5 4 6.290861 4 8.5 C 4 10.709139 5.790861 12.5 8 12.5 Z" fill="none" stroke="currentColor"/>
+    <path d="M 8 10.5 C 9.1045695 10.5 10 9.6045695 10 8.5 C 10 7.3954305 9.1045695 6.5 8 6.5 C 6.8954305 6.5 6 7.3954305 6 8.5 C 6 9.6045695 6.8954305 10.5 8 10.5 Z" fill="none" stroke="currentColor"/>
+</svg>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/HeapAllocationsTimelineView.js (199176 => 199177)


--- trunk/Source/WebInspectorUI/UserInterface/Views/HeapAllocationsTimelineView.js	2016-04-07 20:38:03 UTC (rev 199176)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/HeapAllocationsTimelineView.js	2016-04-07 20:59:27 UTC (rev 199177)
@@ -53,7 +53,7 @@
         };
 
         let snapshotTooltip = WebInspector.UIString("Take snapshot");
-        this._takeHeapSnapshotButtonItem = new WebInspector.ButtonNavigationItem("take-snapshot", snapshotTooltip, "Images/HeapSnapshot.svg", 16, 16);
+        this._takeHeapSnapshotButtonItem = new WebInspector.ButtonNavigationItem("take-snapshot", snapshotTooltip, "Images/Camera.svg", 16, 16);
         this._takeHeapSnapshotButtonItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._takeHeapSnapshotClicked, this);
 
         let defaultToolTip = WebInspector.UIString("Compare snapshots");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to