Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d12704bb5a6630edd56b7e5707b64c9cdbaa8974
https://github.com/WebKit/WebKit/commit/d12704bb5a6630edd56b7e5707b64c9cdbaa8974
Author: Wenson Hsieh <[email protected]>
Date: 2024-11-10 (Sun, 10 Nov 2024)
Changed paths:
M Source/WebKit/Shared/ios/NativeWebTouchEventIOS.mm
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
M Source/WebKit/UIProcess/ios/WKTouchEventsGestureRecognizer.h
M Source/WebKit/UIProcess/ios/WKTouchEventsGestureRecognizer.mm
M Tools/TestWebKitAPI/Tests/ios/TouchEventTests.mm
Log Message:
-----------
[iOS] Rename some member and local variables related to touch event handling
https://bugs.webkit.org/show_bug.cgi?id=282886
Reviewed by Abrar Rahman Protyasha.
No change in behavior; see below for more details.
* Source/WebKit/Shared/ios/NativeWebTouchEventIOS.mm:
(WebKit::radiusForTouchPoint):
(WebKit::NativeWebTouchEvent::extractWebTouchPoints):
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _touchEventsRecognized:]):
* Source/WebKit/UIProcess/ios/WKTouchEventsGestureRecognizer.h:
Delete the unused `locationInScreenCoordinates` instance variable.
* Source/WebKit/UIProcess/ios/WKTouchEventsGestureRecognizer.mm:
(-[WKTouchEventsGestureRecognizer reset]):
(-[WKTouchEventsGestureRecognizer _touchEventForTouch:]):
(-[WKTouchEventsGestureRecognizer
_recordTouches:type:coalescedTouches:predictedTouches:]):
Rename `locationInViewport` to `locationInRootView`, to reflect the fact that
this point is in the
coordinate space of the `WKContentView`, rather than the layout or visual
viewport.
Rename `…InScreenCoordinates` to `…InWindowCoordinates`, to reflect the fact
that these values are
in `UIWindow` coordinates, not screen coordinates.
Rename `locationInDocumentCoordinates` to `locationInRootViewCoordinates`, to
clarify that this
point is always in the coordinate space of the content view (not the target
document where the
touches are being dispatched).
* Tools/TestWebKitAPI/Tests/ios/TouchEventTests.mm:
(TestWebKitAPI::updateSimulatedTouchEvent):
Canonical link: https://commits.webkit.org/286418@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes