Title: [176777] trunk/Source/WebKit/mac
Revision
176777
Author
[email protected]
Date
2014-12-03 18:32:40 -0800 (Wed, 03 Dec 2014)

Log Message

Implement action menus for tel: URLs
https://bugs.webkit.org/show_bug.cgi?id=139240
<rdar://problem/19115662>

Reviewed by Anders Carlsson.

* WebView/WebActionMenuController.mm:
(-[WebActionMenuController _defaultMenuItemsForDataDetectableLink]):
Make sure to use the newly created currentActionContext... everywhere.

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (176776 => 176777)


--- trunk/Source/WebKit/mac/ChangeLog	2014-12-04 02:32:40 UTC (rev 176776)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-12-04 02:32:40 UTC (rev 176777)
@@ -8,6 +8,18 @@
 
         * WebView/WebActionMenuController.mm:
         (-[WebActionMenuController _defaultMenuItemsForDataDetectableLink]):
+        Make sure to use the newly created currentActionContext... everywhere.
+
+2014-12-03  Timothy Horton  <[email protected]>
+
+        Implement action menus for tel: URLs
+        https://bugs.webkit.org/show_bug.cgi?id=139240
+        <rdar://problem/19115662>
+
+        Reviewed by Anders Carlsson.
+
+        * WebView/WebActionMenuController.mm:
+        (-[WebActionMenuController _defaultMenuItemsForDataDetectableLink]):
         Make sure to use the newly created currentActionContext.
 
 2014-12-03  Beth Dakin  <[email protected]>

Modified: trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm (176776 => 176777)


--- trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm	2014-12-04 02:32:40 UTC (rev 176776)
+++ trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm	2014-12-04 02:32:40 UTC (rev 176777)
@@ -300,7 +300,7 @@
     } interactionStoppedHandler:^() {
     }];
 
-    [actionContext setHighlightFrame:elementBoundingBoxInWindowCoordinatesFromNode(node)];
+    [_currentActionContext setHighlightFrame:elementBoundingBoxInWindowCoordinatesFromNode(node)];
 
     return [[getDDActionsManagerClass() sharedManager] menuItemsForTargetURL:_hitTestResult.absoluteLinkURL() actionContext:_currentActionContext.get()];
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to