Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 03f1bd693fb5ed19b4318e8b433a42e1f8e22dbb
      
https://github.com/WebKit/WebKit/commit/03f1bd693fb5ed19b4318e8b433a42e1f8e22dbb
  Author: Abrar Rahman Protyasha <a_protya...@apple.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [UnifiedPDF] When there is no active selection, context menu contains 
unnecessary web search and lookup items
https://bugs.webkit.org/show_bug.cgi?id=272737
rdar://126543524

Reviewed by Aditya Keerthi.

This patch makes sure we only provide context menu items relevant for
selections if there is an active selection (which we already check for)
_and_ if the selection is not empty (which this patch starts checking).

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::selectionContextMenuItems const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to