Add ICU message format support
[chromium-blink-merge.git] / content / browser / renderer_host / input / web_input_event_builders_android.h
blobde0ee4e0ee3bc7ea0177efac951d05292c43a9fb
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_
8 #include <jni.h>
10 #include "third_party/WebKit/public/web/WebInputEvent.h"
12 namespace content {
14 class MotionEventAndroid;
16 class WebMouseEventBuilder {
17 public:
18 static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
19 blink::WebMouseEvent::Button button,
20 double time_sec,
21 int window_x,
22 int window_y,
23 int modifiers,
24 int click_count);
27 class WebMouseWheelEventBuilder {
28 public:
29 static blink::WebMouseWheelEvent Build(float ticks_x,
30 float ticks_y,
31 float tick_multiplier,
32 double time_sec,
33 int window_x,
34 int window_y);
37 class WebKeyboardEventBuilder {
38 public:
39 static blink::WebKeyboardEvent Build(blink::WebInputEvent::Type type,
40 int modifiers,
41 double time_sec,
42 int keycode,
43 int unicode_character,
44 bool is_system_key);
47 class WebGestureEventBuilder {
48 public:
49 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type,
50 double time_sec,
51 int x,
52 int y);
55 } // namespace content
57 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_