Changeset 74015 in webkit
- Timestamp:
- Dec 14, 2010 4:10:45 AM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r74013 r74015 1 2010-12-14 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 WebKit 2 does not send touch cancel events correctly between processes 6 https://bugs.webkit.org/show_bug.cgi?id=50235 7 8 The classes WebKit2PlatformTouchPoint and WebKit2PlatformTouchEvent 9 misses the conversion of TouchCancel events and points. 10 11 This patch add the missing enums when converting from a WebTouchEvent 12 to a PlatformTouchEvent. 13 14 Testing is already covered by fast/events/touch/send-oncancel-event.html 15 16 * Shared/WebEventConversion.cpp: 17 (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint): 18 (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): 19 1 20 2010-12-14 Zalan Bujtas <zbujtas@gmail.com> 2 21 -
trunk/WebKit2/Shared/WebEventConversion.cpp
r70892 r74015 180 180 m_state = PlatformTouchPoint::TouchStationary; 181 181 break; 182 case WebPlatformTouchPoint::TouchCancelled: 183 m_state = PlatformTouchPoint::TouchCancelled; 184 break; 182 185 default: 183 186 ASSERT_NOT_REACHED(); … … 203 206 m_type = WebCore::TouchEnd; 204 207 break; 208 case WebEvent::TouchCancel: 209 m_type = WebCore::TouchCancel; 210 break; 205 211 default: 206 212 ASSERT_NOT_REACHED();
Note: See TracChangeset
for help on using the changeset viewer.