diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
| commit | 8d473cf9743f1d30a16a27114e93bd5af5648d23 (patch) | |
| tree | cdca40d0353886b3ca52f33a2d7b8f1c0011aafc /Source/WebKit2/Shared/NativeWebWheelEvent.h | |
| parent | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (diff) | |
| download | qtwebkit-8d473cf9743f1d30a16a27114e93bd5af5648d23.tar.gz | |
Imported WebKit commit 1350e72f7345ced9da2bd9980deeeb5a8d62fab4 (http://svn.webkit.org/repository/webkit/trunk@117578)
Weekly snapshot
Diffstat (limited to 'Source/WebKit2/Shared/NativeWebWheelEvent.h')
| -rw-r--r-- | Source/WebKit2/Shared/NativeWebWheelEvent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebKit2/Shared/NativeWebWheelEvent.h b/Source/WebKit2/Shared/NativeWebWheelEvent.h index f0cfa6581..3721e941b 100644 --- a/Source/WebKit2/Shared/NativeWebWheelEvent.h +++ b/Source/WebKit2/Shared/NativeWebWheelEvent.h @@ -44,7 +44,7 @@ namespace WebKit { class NativeWebWheelEvent : public WebWheelEvent { public: -#if PLATFORM(MAC) +#if USE(APPKIT) NativeWebWheelEvent(NSEvent *, NSView *); #elif PLATFORM(WIN) NativeWebWheelEvent(HWND, UINT message, WPARAM, LPARAM); @@ -57,7 +57,7 @@ public: NativeWebWheelEvent(const Evas_Event_Mouse_Wheel*, const Evas_Point*); #endif -#if PLATFORM(MAC) +#if USE(APPKIT) NSEvent* nativeEvent() const { return m_nativeEvent.get(); } #elif PLATFORM(WIN) const MSG* nativeEvent() const { return &m_nativeEvent; } @@ -70,7 +70,7 @@ public: #endif private: -#if PLATFORM(MAC) +#if USE(APPKIT) RetainPtr<NSEvent> m_nativeEvent; #elif PLATFORM(WIN) MSG m_nativeEvent; |
