Changeset 184028 in webkit
- Timestamp:
- May 8, 2015, 4:18:21 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 6 edited
-
ChangeLog (modified) (1 diff)
-
Shared/NativeWebTouchEvent.h (modified) (1 diff)
-
Shared/WebEvent.h (modified) (1 diff)
-
Shared/WebEventConversion.cpp (modified) (2 diffs)
-
Shared/ios/NativeWebTouchEventIOS.mm (modified) (2 diffs)
-
Shared/ios/WebPlatformTouchPointIOS.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r184026 r184028 1 2015-05-08 Beth Dakin <bdakin@apple.com> 2 3 Shuffle touch-related code to keep the internal builds working 4 https://bugs.webkit.org/show_bug.cgi?id=144812 5 6 Reviewed by Benjamin Poulain. 7 8 * Shared/NativeWebTouchEvent.h: 9 * Shared/WebEvent.h: 10 * Shared/WebEventConversion.cpp: 11 * Shared/ios/NativeWebTouchEventIOS.mm: 12 (WebKit::NativeWebTouchEvent::extractWebTouchPoint): 13 (WebKit::extractWebTouchPoint): Deleted. 14 * Shared/ios/WebPlatformTouchPointIOS.cpp: 15 1 16 2015-05-08 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/Source/WebKit2/Shared/NativeWebTouchEvent.h
r182005 r184028 57 57 58 58 private: 59 #if PLATFORM(IOS) 60 Vector<WebPlatformTouchPoint> extractWebTouchPoint(const _UIWebTouchEvent*); 61 #endif 62 59 63 #if PLATFORM(GTK) 60 64 GUniquePtr<GdkEvent> m_nativeEvent; -
trunk/Source/WebKit2/Shared/WebEvent.h
r182963 r184028 300 300 TouchPointState state() const { return phase(); } 301 301 302 #if ENABLE(IOS_TOUCH_EVENTS) 303 #include <WebKitAdditions/WebEventIOS.h> 304 #endif 305 302 306 void encode(IPC::ArgumentEncoder&) const; 303 307 static bool decode(IPC::ArgumentDecoder&, WebPlatformTouchPoint&); -
trunk/Source/WebKit2/Shared/WebEventConversion.cpp
r182963 r184028 239 239 } 240 240 241 #if ENABLE(IOS_TOUCH_EVENTS) 242 #include <WebKitAdditions/WebEventConversionIOS.cpp> 243 #else 241 244 class WebKit2PlatformTouchPoint : public WebCore::PlatformTouchPoint { 242 245 public: … … 246 249 } 247 250 }; 251 #endif // ENABLE(IOS_TOUCH_EVENTS) 252 248 253 #else 249 254 -
trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm
r178080 r184028 76 76 } 77 77 78 static inline Vector<WebPlatformTouchPoint> extractWebTouchPoint(const _UIWebTouchEvent* event) 78 #if ENABLE(IOS_TOUCH_EVENTS) 79 #import <WebKitAdditions/NativeWebTouchEventIOS.mm> 80 #else 81 Vector<WebPlatformTouchPoint> NativeWebTouchEvent::extractWebTouchPoint(const _UIWebTouchEvent* event) 79 82 { 80 83 unsigned touchCount = event->touchPointCount; … … 91 94 return touchPointList; 92 95 } 96 #endif 93 97 94 98 NativeWebTouchEvent::NativeWebTouchEvent(const _UIWebTouchEvent* event) -
trunk/Source/WebKit2/Shared/ios/WebPlatformTouchPointIOS.cpp
r161156 r184028 36 36 namespace WebKit { 37 37 38 #if ENABLE(IOS_TOUCH_EVENTS) 39 #import <WebKitAdditions/WebPlatformTouchPointIOS.cpp> 40 #else 38 41 void WebPlatformTouchPoint::encode(IPC::ArgumentEncoder& encoder) const 39 42 { … … 53 56 return true; 54 57 } 58 #endif // ENABLE(IOS_TOUCH_EVENTS) 55 59 56 60 } // namespace WebKit
Note:
See TracChangeset
for help on using the changeset viewer.