diff options
Diffstat (limited to 'Tools/WebKitTestRunner/EventSenderProxy.h')
| -rw-r--r-- | Tools/WebKitTestRunner/EventSenderProxy.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Tools/WebKitTestRunner/EventSenderProxy.h b/Tools/WebKitTestRunner/EventSenderProxy.h index 816851319..96c8d0fcd 100644 --- a/Tools/WebKitTestRunner/EventSenderProxy.h +++ b/Tools/WebKitTestRunner/EventSenderProxy.h @@ -33,6 +33,8 @@ #elif PLATFORM(GTK) #include <gdk/gdk.h> #include <wtf/Vector.h> +#elif PLATFORM(EFL) +#include <wtf/Deque.h> #endif namespace WTR { @@ -41,11 +43,13 @@ class TestController; #if PLATFORM(GTK) struct WTREventQueueItem; +#elif PLATFORM(EFL) +struct WTREvent; #endif class EventSenderProxy { public: - EventSenderProxy(TestController*); + explicit EventSenderProxy(TestController*); void mouseDown(unsigned button, WKEventModifiers); void mouseUp(unsigned button, WKEventModifiers); @@ -77,7 +81,7 @@ private: double currentEventTime() { return m_time; } void updateClickCountForButton(int button); -#if PLATFORM(QT) || PLATFORM(GTK) +#if PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL) void replaySavedEvents(); #endif @@ -89,6 +93,9 @@ private: #elif PLATFORM(GTK) void sendOrQueueEvent(GdkEvent*); GdkEvent* createMouseButtonEvent(GdkEventType, unsigned button, WKEventModifiers); +#elif PLATFORM(EFL) + void sendOrQueueEvent(const WTREvent&); + void dispatchEvent(const WTREvent&); #endif double m_time; @@ -112,6 +119,9 @@ private: QPoint m_touchPointRadius; bool m_touchActive; #endif +#elif PLATFORM(EFL) + Deque<WTREvent> m_eventQueue; + unsigned m_mouseButton; #endif }; |
