[webkit-changes] [WebKit/WebKit] 629c28: [UnifiedPDF] Plugin need not perform data detectio...

Abrar Rahman Protyasha noreply at github.com
Thu Aug 8 13:49:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 629c28bfd1fdda16279dfd93c17f0808b3ca49c6
      https://github.com/WebKit/WebKit/commit/629c28bfd1fdda16279dfd93c17f0808b3ca49c6
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDataDetectorOverlayController.mm

  Log Message:
  -----------
  [UnifiedPDF] Plugin need not perform data detection on locked documents
https://bugs.webkit.org/show_bug.cgi?id=277816
rdar://133477487

Reviewed by Tim Horton.

This patch prevents us from unnecessarily creating data detection
hihglights, since we shouldn't present them on locked documents.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDataDetectorOverlayController.mm:
(WebKit::PDFDataDetectorOverlayController::handleMouseEvent):

Canonical link: https://commits.webkit.org/282008@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