X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fplatform%2FPlatformMouseEvent.h;h=15d264b07e905cf11a749f60908086f121c779de;hp=102871b6b128971c39ff1a43096ebd9d2544bff7;hb=de16f9ef80e0d7540e3454fc274306b9b06474b1;hpb=ffda5066e9c6dee795aa47004e36baba30926e1a;ds=sidebyside diff --git a/WebCore/platform/PlatformMouseEvent.h b/WebCore/platform/PlatformMouseEvent.h index 102871b..15d264b 100644 --- a/WebCore/platform/PlatformMouseEvent.h +++ b/WebCore/platform/PlatformMouseEvent.h @@ -42,6 +42,10 @@ typedef unsigned WPARAM; typedef long LPARAM; #endif +#if PLATFORM(GDK) +typedef union _GdkEvent GdkEvent; +#endif + namespace WebCore { // These button numbers match the one used in the DOM API. @@ -69,13 +73,15 @@ namespace WebCore { bool altKey() const { return m_altKey; } bool metaKey() const { return m_metaKey; } - static bool isMouseButtonDown(MouseButton); #if __APPLE__ PlatformMouseEvent(NSEvent*); #endif #if WIN32 PlatformMouseEvent(HWND, WPARAM, LPARAM, int clickCount); #endif +#if PLATFORM(GDK) + PlatformMouseEvent(GdkEvent*); +#endif private: IntPoint m_position;