[webkit-changes] [WebKit/WebKit] 263558: [UnifiedPDF] Only "Open with Preview" context menu...
Abrar Rahman Protyasha
noreply at github.com
Fri Jul 26 13:28:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 263558a0e8de3865e2354a17b192935e006fac22
https://github.com/WebKit/WebKit/commit/263558a0e8de3865e2354a17b192935e006fac22
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
Log Message:
-----------
[UnifiedPDF] Only "Open with Preview" context menu item should be active on locked PDF documents
https://bugs.webkit.org/show_bug.cgi?id=277130
rdar://132556503
Reviewed by Aditya Keerthi.
The other context menu items should not be actionable when a document is
locked, so we adjust their enablement as needed before presenting the
menu.
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::contextMenuItem const):
Canonical link: https://commits.webkit.org/281412@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