[webkit-changes] [WebKit/WebKit] 36a9e5: UnifiedPDF: Clicks on the HUD buttons can pass thr...
Tim Horton
noreply at github.com
Mon Mar 18 15:31:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 36a9e5373c6fb72786a7aa1f43f3a379063d4530
https://github.com/WebKit/WebKit/commit/36a9e5373c6fb72786a7aa1f43f3a379063d4530
Author: Tim Horton <timothy_horton at apple.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M Source/WebKit/UIProcess/PDF/WKPDFHUDView.h
M Source/WebKit/UIProcess/PDF/WKPDFHUDView.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
UnifiedPDF: Clicks on the HUD buttons can pass through to the PDF and trigger form focus
https://bugs.webkit.org/show_bug.cgi?id=271171
<rdar://problem/123668071>
Reviewed by Abrar Rahman Protyasha.
Don't send mouse up/down events to the page if the PDF HUD handled them.
* Source/WebKit/UIProcess/PDF/WKPDFHUDView.h:
* Source/WebKit/UIProcess/PDF/WKPDFHUDView.mm:
(-[WKPDFHUDView handleMouseDown:]):
(-[WKPDFHUDView handleMouseUp:]):
(-[WKPDFHUDView mouseDown:]): Deleted.
(-[WKPDFHUDView mouseUp:]): Deleted.
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::mouseUp):
Canonical link: https://commits.webkit.org/276307@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