OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_ | 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_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/WebKit/public/web/WebInputEvent.h" | 12 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
| 13 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class WebMouseEventBuilder { | 17 class WebMouseEventBuilder { |
17 public: | 18 public: |
18 static blink::WebMouseEvent Build( | 19 static blink::WebMouseEvent Build( |
19 blink::WebInputEvent::Type type, | 20 blink::WebInputEvent::Type type, |
20 double time_sec, | 21 double time_sec, |
21 int window_x, | 22 int window_x, |
22 int window_y, | 23 int window_y, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 public: | 59 public: |
59 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type, | 60 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type, |
60 double time_sec, | 61 double time_sec, |
61 int x, | 62 int x, |
62 int y); | 63 int y); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace content | 66 } // namespace content |
66 | 67 |
67 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_
H_ | 68 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_
H_ |
OLD | NEW |