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

Changeset 268887 in webkit


Ignore:
Timestamp:
Oct 22, 2020, 1:29:14 PM (6 years ago)
Author:
Russell Epstein
Message:

Cherry-pick r268367. rdar://problem/70320656

[macCatalyst] Enable WKPDFView
https://bugs.webkit.org/show_bug.cgi?id=217403
<rdar://problem/48217791>

Reviewed by Tim Horton.

Source/WebKit:

  • Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst variant on Big Sur or later.

Source/WTF:

  • wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on Big Sur or later.

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

Location:
branches/safari-610.2.11.51-branch/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610.2.11.51-branch/Source/WTF/ChangeLog

    r268618 r268887  
     12020-10-22  Russell Epstein  <repstein@apple.com>
     2
     3        Cherry-pick r268367. rdar://problem/70320656
     4
     5    [macCatalyst] Enable WKPDFView
     6    https://bugs.webkit.org/show_bug.cgi?id=217403
     7    <rdar://problem/48217791>
     8   
     9    Reviewed by Tim Horton.
     10   
     11    Source/WebKit:
     12   
     13    * Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst
     14    variant on Big Sur or later.
     15   
     16    Source/WTF:
     17   
     18    * wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on
     19    Big Sur or later.
     20   
     21   
     22    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     23
     24    2020-10-12  Andy Estes  <aestes@apple.com>
     25
     26            [macCatalyst] Enable WKPDFView
     27            https://bugs.webkit.org/show_bug.cgi?id=217403
     28            <rdar://problem/48217791>
     29
     30            Reviewed by Tim Horton.
     31
     32            * wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on
     33            Big Sur or later.
     34
    1352020-10-12  Babak Shafiei  <bshafiei@apple.com>
    236
  • branches/safari-610.2.11.51-branch/Source/WTF/wtf/PlatformEnableCocoa.h

    r268618 r268887  
    595595#endif
    596596
    597 #if !defined(ENABLE_WKPDFVIEW) && PLATFORM(IOS)
     597#if !defined(ENABLE_WKPDFVIEW) && (PLATFORM(IOS) || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000))
    598598#define ENABLE_WKPDFVIEW 1
    599599#endif
  • branches/safari-610.2.11.51-branch/Source/WebKit/ChangeLog

    r268675 r268887  
     12020-10-22  Russell Epstein  <repstein@apple.com>
     2
     3        Cherry-pick r268367. rdar://problem/70320656
     4
     5    [macCatalyst] Enable WKPDFView
     6    https://bugs.webkit.org/show_bug.cgi?id=217403
     7    <rdar://problem/48217791>
     8   
     9    Reviewed by Tim Horton.
     10   
     11    Source/WebKit:
     12   
     13    * Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst
     14    variant on Big Sur or later.
     15   
     16    Source/WTF:
     17   
     18    * wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on
     19    Big Sur or later.
     20   
     21   
     22    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     23
     24    2020-10-12  Andy Estes  <aestes@apple.com>
     25
     26            [macCatalyst] Enable WKPDFView
     27            https://bugs.webkit.org/show_bug.cgi?id=217403
     28            <rdar://problem/48217791>
     29
     30            Reviewed by Tim Horton.
     31
     32            * Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst
     33            variant on Big Sur or later.
     34
    1352020-10-19  Kocsen Chung  <kocsen_chung@apple.com>
    236
  • branches/safari-610.2.11.51-branch/Source/WebKit/Configurations/WebKit.xcconfig

    r268618 r268887  
    9494WK_PDFKIT_LDFLAGS_iphonesimulator = $(WK_PDFKIT_LDFLAGS_iphoneos);
    9595WK_PDFKIT_LDFLAGS_iphonesimulator[sdk=iphone*11.*] = ;
     96WK_PDFKIT_LDFLAGS_maccatalyst = $(WK_PDFKIT_LDFLAGS_maccatalyst$(WK_MACOS_1100));
     97WK_PDFKIT_LDFLAGS_maccatalyst_SINCE_1100 = $(WK_PDFKIT_LDFLAGS_iphoneos);
    9698
    9799WK_SAFE_BROWSING_LDFLAGS = $(WK_SAFE_BROWSING_LDFLAGS_$(WK_PLATFORM_NAME));
Note: See TracChangeset for help on using the changeset viewer.