Changeset 241900 in webkit
- Timestamp:
- Feb 21, 2019 1:43:43 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r241873 r241900 1 2019-02-21 Antoine Quint <graouts@apple.com> 2 3 Move UIWebTouchEventsGestureRecognizer.activeTouchesByIdentifier to SPI 4 https://bugs.webkit.org/show_bug.cgi?id=194531 5 <rdar://problem/47714562> 6 7 Reviewed by Tim Horton. 8 9 Follow-up commit to ensure this SPI is only called on newer versions of iOS. 10 11 * wtf/Platform.h: 12 1 13 2019-02-21 Dean Jackson <dino@apple.com> 2 14 -
trunk/Source/WTF/wtf/Platform.h
r241873 r241900 1513 1513 #define ENABLE_MONOSPACE_FONT_EXCEPTION (__IPHONE_OS_VERSION_MIN_REQUIRED < 130000) 1514 1514 #endif 1515 1516 #if PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000 1517 #define HAVE_UI_WEB_TOUCH_EVENTS_GESTURE_RECOGNIZER_WITH_ACTIVE_TOUCHES_BY_ID 1 1518 #endif -
trunk/Source/WebKit/ChangeLog
r241899 r241900 1 2019-02-21 Antoine Quint <graouts@apple.com> 2 3 Move UIWebTouchEventsGestureRecognizer.activeTouchesByIdentifier to SPI 4 https://bugs.webkit.org/show_bug.cgi?id=194531 5 <rdar://problem/47714562> 6 7 Reviewed by Tim Horton. 8 9 Follow-up commit to ensure this SPI is only called on newer versions of iOS. 10 11 * UIProcess/ios/WKContentViewInteraction.mm: 12 (-[WKContentView cancelPointersForGestureRecognizer:]): 13 1 14 2019-02-21 Tim Horton <timothy_horton@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
r241865 r241900 1189 1189 - (void)cancelPointersForGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer 1190 1190 { 1191 #if HAVE(UI_WEB_TOUCH_EVENTS_GESTURE_RECOGNIZER_WITH_ACTIVE_TOUCHES_BY_ID) 1191 1192 // FIXME: <rdar://problem/48035706> 1192 if (![_touchEventGestureRecognizer respondsToSelector:@selector(activeTouchesByIdentifier)])1193 return;1194 1195 1193 NSMapTable<NSNumber *, UITouch *> *activeTouches = [_touchEventGestureRecognizer activeTouchesByIdentifier]; 1196 1194 for (NSNumber *touchIdentifier in activeTouches) { … … 1199 1197 _page->cancelPointer([touchIdentifier unsignedIntValue], WebCore::roundedIntPoint([touch locationInView:self])); 1200 1198 } 1199 #endif 1201 1200 } 1202 1201 #endif
Note: See TracChangeset
for help on using the changeset viewer.