⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 184028 in webkit


Ignore:
Timestamp:
May 8, 2015, 4:18:21 PM (11 years ago)
Author:
Beth Dakin
Message:

Shuffle touch-related code to keep the internal builds working
https://bugs.webkit.org/show_bug.cgi?id=144812

Reviewed by Benjamin Poulain.

  • Shared/NativeWebTouchEvent.h:
  • Shared/WebEvent.h:
  • Shared/WebEventConversion.cpp:
  • Shared/ios/NativeWebTouchEventIOS.mm:

(WebKit::NativeWebTouchEvent::extractWebTouchPoint):
(WebKit::extractWebTouchPoint): Deleted.

  • Shared/ios/WebPlatformTouchPointIOS.cpp:
Location:
trunk/Source/WebKit2
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r184026 r184028  
     12015-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
    1162015-05-08  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/Source/WebKit2/Shared/NativeWebTouchEvent.h

    r182005 r184028  
    5757
    5858private:
     59#if PLATFORM(IOS)
     60    Vector<WebPlatformTouchPoint> extractWebTouchPoint(const _UIWebTouchEvent*);
     61#endif
     62
    5963#if PLATFORM(GTK)
    6064    GUniquePtr<GdkEvent> m_nativeEvent;
  • trunk/Source/WebKit2/Shared/WebEvent.h

    r182963 r184028  
    300300    TouchPointState state() const { return phase(); }
    301301
     302#if ENABLE(IOS_TOUCH_EVENTS)
     303#include <WebKitAdditions/WebEventIOS.h>
     304#endif
     305
    302306    void encode(IPC::ArgumentEncoder&) const;
    303307    static bool decode(IPC::ArgumentDecoder&, WebPlatformTouchPoint&);
  • trunk/Source/WebKit2/Shared/WebEventConversion.cpp

    r182963 r184028  
    239239}
    240240
     241#if ENABLE(IOS_TOUCH_EVENTS)
     242#include <WebKitAdditions/WebEventConversionIOS.cpp>
     243#else
    241244class WebKit2PlatformTouchPoint : public WebCore::PlatformTouchPoint {
    242245public:
     
    246249}
    247250};
     251#endif // ENABLE(IOS_TOUCH_EVENTS)
     252
    248253#else
    249254
  • trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm

    r178080 r184028  
    7676}
    7777
    78 static inline Vector<WebPlatformTouchPoint> extractWebTouchPoint(const _UIWebTouchEvent* event)
     78#if ENABLE(IOS_TOUCH_EVENTS)
     79#import <WebKitAdditions/NativeWebTouchEventIOS.mm>
     80#else
     81Vector<WebPlatformTouchPoint> NativeWebTouchEvent::extractWebTouchPoint(const _UIWebTouchEvent* event)
    7982{
    8083    unsigned touchCount = event->touchPointCount;
     
    9194    return touchPointList;
    9295}
     96#endif
    9397
    9498NativeWebTouchEvent::NativeWebTouchEvent(const _UIWebTouchEvent* event)
  • trunk/Source/WebKit2/Shared/ios/WebPlatformTouchPointIOS.cpp

    r161156 r184028  
    3636namespace WebKit {
    3737
     38#if ENABLE(IOS_TOUCH_EVENTS)
     39#import <WebKitAdditions/WebPlatformTouchPointIOS.cpp>
     40#else
    3841void WebPlatformTouchPoint::encode(IPC::ArgumentEncoder& encoder) const
    3942{
     
    5356    return true;
    5457}
     58#endif // ENABLE(IOS_TOUCH_EVENTS)
    5559
    5660} // namespace WebKit
Note: See TracChangeset for help on using the changeset viewer.