Use "safari" glyph for "Show Link Previews" contextual menu
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Aug 2019 18:40:38 +0000 (18:40 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Aug 2019 18:40:38 +0000 (18:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=200544
<rdar://problem/54087842>

Reviewed by Tim Horton.

Use the system image for the compass.

* UIProcess/API/Cocoa/_WKElementAction.mm:
(+[_WKElementAction imageForElementActionType:]):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.mm

index 06b344e..b710347 100644 (file)
@@ -1,3 +1,16 @@
+2019-08-08  Dean Jackson  <dino@apple.com>
+
+        Use "safari" glyph for "Show Link Previews" contextual menu
+        https://bugs.webkit.org/show_bug.cgi?id=200544
+        <rdar://problem/54087842>
+
+        Reviewed by Tim Horton.
+
+        Use the system image for the compass.
+
+        * UIProcess/API/Cocoa/_WKElementAction.mm:
+        (+[_WKElementAction imageForElementActionType:]):
+
 2019-08-08  Chris Dumez  <cdumez@apple.com>
 
         Move classes declared inside StorageManager.cpp into their own headers
index e03f284..e3397b4 100644 (file)
@@ -240,7 +240,7 @@ static void addToReadingList(NSURL *targetURL, NSString *title)
     case _WKElementActionTypeDownload:
         return [UIImage systemImageNamed:@"arrow.down.circle"];
     case _WKElementActionToggleShowLinkPreviews:
-        return [UIImage systemImageNamed:@"eye.fill"];
+        return [UIImage systemImageNamed:@"safari"];
     }
 }