[webkit-changes] [WebKit/WebKit] c3efef: [tvOS] Enable support for viewing PDFs

Aditya Keerthi noreply at github.com
Tue Aug 13 11:26:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3efef265cb413fa0eaddd8e1c054bf0c4cea0b2
      https://github.com/WebKit/WebKit/commit/c3efef265cb413fa0eaddd8e1c054bf0c4cea0b2
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/Shared/Cocoa/PDFKitSoftLink.h
    M Source/WebKit/Shared/Cocoa/PDFKitSoftLink.mm
    M Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm
    M Source/WebKit/UIProcess/ios/WKPDFView.h
    M Source/WebKit/UIProcess/ios/WKPDFView.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/PDFSnapshot.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewPrintFormatter.mm
    M Tools/TestWebKitAPI/Tests/ios/ApplicationStateTracking.mm
    M Tools/TestWebKitAPI/cocoa/TestPDFDocument.h
    M Tools/TestWebKitAPI/cocoa/TestPDFDocument.mm
    M Tools/TestWebKitAPI/config.h
    M Tools/TestWebKitAPI/ios/TestPDFHostViewController.h
    M Tools/TestWebKitAPI/ios/TestPDFHostViewController.mm

  Log Message:
  -----------
  [tvOS] Enable support for viewing PDFs
https://bugs.webkit.org/show_bug.cgi?id=277823
rdar://125581413

Reviewed by Abrar Rahman Protyasha and Tim Horton.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/Shared/Cocoa/PDFKitSoftLink.h:

Soft link use of `PDFHostViewController` on tvOS as it is not available in all
configurations.

* Source/WebKit/Shared/Cocoa/PDFKitSoftLink.mm:
* Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm:
(-[WKWebViewContentProviderRegistry initWithConfiguration:]):
* Source/WebKit/UIProcess/ios/WKPDFView.mm:
(-[WKPDFView updateBackgroundColor]):
(-[WKPDFView web_setContentProviderData:suggestedFilename:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/PDFSnapshot.mm:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewPrintFormatter.mm:
* Tools/TestWebKitAPI/Tests/ios/ApplicationStateTracking.mm:
* Tools/TestWebKitAPI/cocoa/TestPDFDocument.h:
* Tools/TestWebKitAPI/cocoa/TestPDFDocument.mm:
* Tools/TestWebKitAPI/config.h:
* Tools/TestWebKitAPI/ios/TestPDFHostViewController.h:
* Tools/TestWebKitAPI/ios/TestPDFHostViewController.mm:

Canonical link: https://commits.webkit.org/282177@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list