Changeset 207413 in webkit
- Timestamp:
- Oct 17, 2016 10:48:28 AM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r207407 r207413 1 2016-10-17 Chris Dumez <cdumez@apple.com> 2 3 [iOS] Hook up WebPlatformTouchPoint's radiusX / radiusY to _UIWebTouchPoint.majorRadiusInScreenCoordinates 4 https://bugs.webkit.org/show_bug.cgi?id=163547 5 6 Reviewed by Darin Adler. 7 8 Hook up WebPlatformTouchPoint's radiusX / radiusY to _UIWebTouchPoint.majorRadiusInScreenCoordinates 9 now that it is available in UIKit. 10 11 * Platform/spi/ios/UIKitSPI.h: 12 * Shared/ios/NativeWebTouchEventIOS.mm: 13 (WebKit::NativeWebTouchEvent::extractWebTouchPoint): 14 1 15 2016-10-17 Konstantin Tokarev <annulen@yandex.ru> 2 16 -
trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h
r206651 r207413 655 655 UITouchPhase phase; 656 656 #if __IPHONE_OS_VERSION_MIN_REQUIRED > 100000 657 // FIXME: Uncomment this once UIKit is updated (rdar://problem/28555313). 658 // CGFloat majorRadiusInScreenCoordinates; 657 CGFloat majorRadiusInScreenCoordinates; 659 658 CGFloat force; 660 659 CGFloat altitudeAngle; -
trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm
r206651 r207413 104 104 WebPlatformTouchPoint platformTouchPoint = WebPlatformTouchPoint(identifier, location, phase); 105 105 #if ENABLE(IOS_TOUCH_EVENTS) 106 // FIXME: We should use touchPoint.majorRadiusInScreenCoordinates for radiusX / radiusY once it is available (rdar://problem/28555313). 107 platformTouchPoint.setRadiusX(0); 108 platformTouchPoint.setRadiusY(0); 106 platformTouchPoint.setRadiusX(touchPoint.majorRadiusInScreenCoordinates); 107 platformTouchPoint.setRadiusY(touchPoint.majorRadiusInScreenCoordinates); 109 108 platformTouchPoint.setRotationAngle(0); // Not available in _UIWebTouchEvent yet. 110 109 platformTouchPoint.setForce(touchPoint.force);
Note: See TracChangeset
for help on using the changeset viewer.