Changeset 207494 in webkit
- Timestamp:
- Oct 18, 2016 3:33:35 PM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r207484 r207494 1 2016-10-18 Ryan Haddad <ryanhaddad@apple.com> 2 3 Unreviewed, rolling out r207413. 4 5 This change broke iOS builds. 6 7 Reverted changeset: 8 9 "[iOS] Hook up WebPlatformTouchPoint's radiusX / radiusY to 10 _UIWebTouchPoint.majorRadiusInScreenCoordinates" 11 https://bugs.webkit.org/show_bug.cgi?id=163547 12 http://trac.webkit.org/changeset/207413 13 1 14 2016-10-18 Commit Queue <commit-queue@webkit.org> 2 15 -
trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h
r207413 r207494 655 655 UITouchPhase phase; 656 656 #if __IPHONE_OS_VERSION_MIN_REQUIRED > 100000 657 CGFloat majorRadiusInScreenCoordinates; 657 // FIXME: Uncomment this once UIKit is updated (rdar://problem/28555313). 658 // CGFloat majorRadiusInScreenCoordinates; 658 659 CGFloat force; 659 660 CGFloat altitudeAngle; -
trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm
r207413 r207494 104 104 WebPlatformTouchPoint platformTouchPoint = WebPlatformTouchPoint(identifier, location, phase); 105 105 #if ENABLE(IOS_TOUCH_EVENTS) 106 platformTouchPoint.setRadiusX(touchPoint.majorRadiusInScreenCoordinates); 107 platformTouchPoint.setRadiusY(touchPoint.majorRadiusInScreenCoordinates); 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); 108 109 platformTouchPoint.setRotationAngle(0); // Not available in _UIWebTouchEvent yet. 109 110 platformTouchPoint.setForce(touchPoint.force);
Note: See TracChangeset
for help on using the changeset viewer.