summaryrefslogtreecommitdiffstats
path: root/lib/web_event_factory.h
blob: 366da641749e0b52664e4b9aa63e7172cc6ba9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef WEB_EVENT_FACTORY_H
#define WEB_EVENT_FACTORY_H

#include "content/public/browser/native_web_keyboard_event.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"

class QMouseEvent;
class QKeyEvent;

class WebEventFactory {

public:
    static WebKit::WebMouseEvent toWebMouseEvent(QMouseEvent*);
    static content::NativeWebKeyboardEvent toWebKeyboardEvent(QKeyEvent*);

};


#endif