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

Changeset 243951 in webkit


Ignore:
Timestamp:
Apr 5, 2019, 4:06:46 PM (7 years ago)
Author:
achristensen@apple.com
Message:

Undeprecate WKNavigationData
https://bugs.webkit.org/show_bug.cgi?id=196559
<rdar://44927425>

Reviewed by Geoff Garen.

  • UIProcess/API/Cocoa/WKNavigationData.h:

It is used to communicate information from FrameLoaderClient::updateGlobalHistory() to the application.
This use in WKBrowsingContextHistoryDelegate is definitely still deprecated, but its use in
WKHistoryDelegatePrivate does not have an adequate replacement yet, so it must remain undeprecated SPI.

Location:
trunk/Source/WebKit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243939 r243951  
     12019-04-05  Alex Christensen  <achristensen@webkit.org>
     2
     3        Undeprecate WKNavigationData
     4        https://bugs.webkit.org/show_bug.cgi?id=196559
     5        <rdar://44927425>
     6
     7        Reviewed by Geoff Garen.
     8
     9        * UIProcess/API/Cocoa/WKNavigationData.h:
     10        It is used to communicate information from FrameLoaderClient::updateGlobalHistory() to the application.
     11        This use in WKBrowsingContextHistoryDelegate is definitely still deprecated, but its use in
     12        WKHistoryDelegatePrivate does not have an adequate replacement yet, so it must remain undeprecated SPI.
     13
    1142019-04-05  Sihui Liu  <sihui_liu@apple.com>
    215
  • trunk/Source/WebKit/Shared/Cocoa/APIObject.mm

    r243726 r243951  
    257257
    258258    case Type::NavigationData:
    259         ALLOW_DEPRECATED_DECLARATIONS_BEGIN
    260259        wrapper = [WKNavigationData alloc];
    261         ALLOW_DEPRECATED_DECLARATIONS_END
    262260        break;
    263261
  • trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationData.h

    r242339 r243951  
    3232#import <Foundation/Foundation.h>
    3333
    34 WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKNavigation", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA))
     34WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
    3535@interface WKNavigationData : NSObject
    3636
  • trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationData.mm

    r242339 r243951  
    3131#import <WebCore/ResourceResponse.h>
    3232
    33 IGNORE_WARNINGS_BEGIN("deprecated-implementations")
    3433@implementation WKNavigationData {
    35 IGNORE_WARNINGS_END
    3634    API::ObjectStorage<API::NavigationData> _data;
    3735}
  • trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationDataInternal.h

    r242339 r243951  
    3232
    3333template<> struct WrapperTraits<API::NavigationData> {
    34     ALLOW_DEPRECATED_DECLARATIONS_BEGIN
    3534    using WrapperClass = WKNavigationData;
    36     ALLOW_DEPRECATED_DECLARATIONS_END
    3735};
    3836
Note: See TracChangeset for help on using the changeset viewer.