⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 248367 in webkit


Ignore:
Timestamp:
Aug 7, 2019, 9:22:13 AM (7 years ago)
Author:
Kocsen Chung
Message:

Revert r247657. rdar://problem/54017957

Location:
branches/safari-608.1-branch/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608.1-branch/Source/WebKit/ChangeLog

    r248360 r248367  
     12019-08-07  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Revert r247657. rdar://problem/54017957
     4
    152019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
    26
  • branches/safari-608.1-branch/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegate.h

    r248342 r248367  
    175175
    176176/**
     177 * @abstract Called when the context menu configured by the UIContextMenuConfiguration from
     178 * webView:contextMenuConfigurationForElement:completionHandler: is committed.
     179 *
     180 * @param webView The web view invoking the delegate method.
     181 * @param elementInfo The elementInfo for the element the user is touching.
     182 * @param animator The animator to use for the commit animation.
     183 */
     184
     185- (void)webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id<UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios(WK_IOS_TBA));
     186
     187/**
    177188 * @abstract Called when the context menu will be presented.
    178189 *
     
    184195
    185196/**
    186  * @abstract Called when the context menu configured by the UIContextMenuConfiguration from
    187  * webView:contextMenuConfigurationForElement:completionHandler: is committed. That is, when
    188  * the user has selected the view provided in the UIContextMenuContentPreviewProvider.
    189  *
    190  * @param webView The web view invoking the delegate method.
    191  * @param elementInfo The elementInfo for the element the user is touching.
    192  * @param animator The animator to use for the commit animation.
    193  */
    194 
    195 - (void)webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id <UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios(WK_IOS_TBA));
    196 
    197 /**
    198  * @abstract Called when the context menu ends, either by being dismissed or when a menu action is taken.
     197 * @abstract Called when the context menu ends.
    199198 *
    200199 * @param webView The web view invoking the delegate method.
  • branches/safari-608.1-branch/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h

    r248342 r248367  
    145145
    146146- (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));
    147 - (void)_webView:(WKWebView *)webView commitPreviewedViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, WK_IOS_TBA));
     147- (void)_webView:(WKWebView *)webView commitPreviewedViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:commitContextMenu:", ios(9.0, WK_IOS_TBA));
    148148- (void)_webView:(WKWebView *)webView willPreviewImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));
    149 - (void)_webView:(WKWebView *)webView commitPreviewedImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, WK_IOS_TBA));
    150 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController committing:(BOOL)committing WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, WK_IOS_TBA));
    151 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, WK_IOS_TBA));
     149- (void)_webView:(WKWebView *)webView commitPreviewedImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:commitContextMenu:", ios(9.0, WK_IOS_TBA));
     150- (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController committing:(BOOL)committing WK_API_DEPRECATED_WITH_REPLACEMENT("webView:dismissContextMenu:", ios(9.0, WK_IOS_TBA));
     151- (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:dismissContextMenu:", ios(9.0, WK_IOS_TBA));
    152152
    153153#if TARGET_OS_IOS
Note: See TracChangeset for help on using the changeset viewer.