#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_GTK_H_
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_GTK_H_
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/events/keycodes/keyboard_codes.h"
typedef struct _GdkEventButton GdkEventButton;
typedef struct _GdkEventMotion GdkEventMotion;
typedef struct _GdkEventCrossing GdkEventCrossing;
typedef struct _GdkEventScroll GdkEventScroll;
typedef struct _GdkEventKey GdkEventKey;
namespace content {
class CONTENT_EXPORT WebKeyboardEventBuilder {
public:
static blink::WebKeyboardEvent Build(const GdkEventKey* event);
static blink::WebKeyboardEvent Build(wchar_t character,
int state,
double time_secs);
};
class CONTENT_EXPORT WebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(const GdkEventButton* event);
static blink::WebMouseEvent Build(const GdkEventMotion* event);
static blink::WebMouseEvent Build(const GdkEventCrossing* event);
};
class CONTENT_EXPORT WebMouseWheelEventBuilder {
public:
static float ScrollbarPixelsPerTick();
static blink::WebMouseWheelEvent Build(
const GdkEventScroll* event);
};
}
#endif