Changeset 189868 in webkit
- Timestamp:
- Sep 16, 2015 10:24:07 AM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r189854 r189868 1 2015-09-16 Dan Bernstein <mitz@apple.com> 2 3 [iOS] Unifiy WebKit2PlatformTouchPoint definition 4 https://bugs.webkit.org/show_bug.cgi?id=149221 5 6 Reviewed by Darin Adler. 7 8 * Shared/WebEventConversion.cpp: 9 (WebKit::touchEventType): 10 (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint): 11 1 12 2015-09-16 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/Source/WebKit2/Shared/WebEventConversion.cpp
r186148 r189868 223 223 224 224 #if PLATFORM(IOS) 225 225 226 static WebCore::PlatformTouchPoint::TouchPhaseType touchEventType(const WebPlatformTouchPoint& webTouchPoint) 226 227 { … … 239 240 } 240 241 241 #if ENABLE(IOS_TOUCH_EVENTS)242 #include <WebKitAdditions/WebEventConversionIOS.cpp>243 #else244 242 class WebKit2PlatformTouchPoint : public WebCore::PlatformTouchPoint { 245 243 public: 246 244 WebKit2PlatformTouchPoint(const WebPlatformTouchPoint& webTouchPoint) 247 : PlatformTouchPoint(webTouchPoint.identifier(), webTouchPoint.location(), touchEventType(webTouchPoint)) 248 { 249 } 250 }; 251 #endif // ENABLE(IOS_TOUCH_EVENTS) 245 : PlatformTouchPoint(webTouchPoint.identifier(), webTouchPoint.location(), touchEventType(webTouchPoint) 246 #if ENABLE(IOS_TOUCH_EVENTS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000 247 , webTouchPoint.force() 248 #endif 249 ) 250 { 251 } 252 }; 252 253 253 254 #else
Note: See TracChangeset
for help on using the changeset viewer.