1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_
10 #include "third_party/WebKit/public/web/WebInputEvent.h"
14 class WebMouseEventBuilder {
16 static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
17 blink::WebMouseEvent::Button button,
25 class WebMouseWheelEventBuilder {
34 static blink::WebMouseWheelEvent Build(Direction direction,
40 class WebKeyboardEventBuilder {
42 static blink::WebKeyboardEvent Build(blink::WebInputEvent::Type type,
46 int unicode_character,
50 class WebGestureEventBuilder {
52 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type,
58 class WebTouchEventBuilder {
60 static blink::WebTouchEvent Build(jobject motion_event, float dpi_scale);
63 } // namespace content
65 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_