Changeset 260676 in webkit
- Timestamp:
- Apr 24, 2020 3:41:38 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r260650 r260676 1 2020-04-24 Megan Gardner <megan_gardner@apple.com> 2 3 Make LEGACY_PDF_SUPPORT feature flag. 4 https://bugs.webkit.org/show_bug.cgi?id=210868 5 <rdar://problem/62199847> 6 7 Reviewed by Tim Horton. 8 9 * wtf/PlatformHave.h: 10 1 11 2020-04-24 Youenn Fablet <youenn@apple.com> and Luming Yin <luming_yin@apple.com> 2 12 -
trunk/Source/WTF/wtf/PlatformHave.h
r260650 r260676 638 638 #endif 639 639 640 #if PLATFORM(IOS_FAMILY) || PLATFORM(MAC) 641 #define HAVE_LEGACY_PDF_SUPPORT 1 642 #endif 643 640 644 #if PLATFORM(IOS) 641 645 #define HAVE_AVOBSERVATIONCONTROLLER 1 -
trunk/Source/WebKitLegacy/mac/ChangeLog
r260662 r260676 1 2020-04-24 Megan Gardner <megan_gardner@apple.com> 2 3 Make LEGACY_PDF_SUPPORT feature flag. 4 https://bugs.webkit.org/show_bug.cgi?id=210868 5 <rdar://problem/62199847> 6 7 Reviewed by Tim Horton. 8 9 * WebView/WebFrameView.mm: 10 (+[WebFrameView _viewTypesAllowImageTypeOmission:]): 11 * WebView/WebView.mm: 12 1 13 2020-04-24 Antoine Quint <graouts@apple.com> 2 14 -
trunk/Source/WebKitLegacy/mac/WebView/WebFrameView.mm
r260485 r260676 263 263 #define WebPDFView ([WebView _getPDFViewClass]) 264 264 #endif 265 #if !PLATFORM(MACCATALYST)265 #if HAVE(LEGACY_PDF_SUPPORT) 266 266 addTypesFromClass(viewTypes, [WebPDFView class], [WebPDFView supportedMIMETypes]); 267 267 #endif -
trunk/Source/WebKitLegacy/mac/WebView/WebView.mm
r260662 r260676 2070 2070 #define WebPDFView ([WebView _getPDFViewClass]) 2071 2071 #endif 2072 #if PLATFORM(MACCATALYST)2072 #if !HAVE(LEGACY_PDF_SUPPORT) 2073 2073 if (!viewClass || !repClass) { 2074 2074 #else
Note: See TracChangeset
for help on using the changeset viewer.