summaryrefslogtreecommitdiffstats
path: root/lib/web_event_factory.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-07-31 16:57:26 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-08-01 12:20:53 +0200
commit2934694fec0acb21f759e288e6943bbf206edecf (patch)
treee79fb79b5449865ea539b25363a0232ad32cad59 /lib/web_event_factory.h
parenta3cc1b314270041b0746edb3359756188ff1487c (diff)
Forward mouse hover events to the page.
Change-Id: I5ce13af04de8520bb0ab93c48a2493822aa42294 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'lib/web_event_factory.h')
-rw-r--r--lib/web_event_factory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/web_event_factory.h b/lib/web_event_factory.h
index bacb7132c..c2bb5f718 100644
--- a/lib/web_event_factory.h
+++ b/lib/web_event_factory.h
@@ -45,14 +45,16 @@
#include "content/public/browser/native_web_keyboard_event.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
-class QMouseEvent;
+class QHoverEvent;
class QKeyEvent;
+class QMouseEvent;
class QWheelEvent;
class WebEventFactory {
public:
static WebKit::WebMouseEvent toWebMouseEvent(QMouseEvent*);
+ static WebKit::WebMouseEvent toWebMouseEvent(QHoverEvent*);
static WebKit::WebMouseWheelEvent toWebWheelEvent(QWheelEvent*);
static content::NativeWebKeyboardEvent toWebKeyboardEvent(QKeyEvent*);
};