https://bugs.webkit.org/show_bug.cgi?id=138034
<rdar://problem/
18758758>
* UIProcess/mac/WKActionMenuController.mm:
(-[WKActionMenuController prepareForMenu:withEvent:]):
(-[WKActionMenuController _addImageToPhotos:]):
Review comments that were not previously addressed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175179
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-10-24 Tim Horton <timothy_horton@apple.com>
+
+ [Mac][WebKit2] Move action menu code into its own file
+ https://bugs.webkit.org/show_bug.cgi?id=138034
+ <rdar://problem/18758758>
+
+ * UIProcess/mac/WKActionMenuController.mm:
+ (-[WKActionMenuController prepareForMenu:withEvent:]):
+ (-[WKActionMenuController _addImageToPhotos:]):
+ Review comments that were not previously addressed.
+
2014-10-24 Tim Horton <timothy_horton@apple.com>
[Mac][WebKit2] Move action menu code into its own file
[self _updateActionMenuItems];
- _page->performActionMenuHitTestAtLocation([_wkView convertPoint:[event locationInWindow] fromView:nil]);
+ _page->performActionMenuHitTestAtLocation([_wkView convertPoint:event.locationInWindow fromView:nil]);
_state = ActionMenuState::Pending;
}
- (void)_addImageToPhotos:(id)sender
{
- // FIXME: We shouldn't even add the button if this is the case, for now.
+ // FIXME: We shouldn't even add the menu item if this is the case, for now.
if (![getIKSlideshowClass() canExportToApplication:@"com.apple.Photos"])
return;