Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: content/browser/renderer_host/input/web_input_event_builders_android.h

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/platform/WebGestureEvent.h" 12 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
13 #include "third_party/WebKit/public/platform/WebInputEvent.h" 13 #include "third_party/WebKit/public/platform/WebInputEvent.h"
14 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h"
14 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" 15 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 class WebMouseEventBuilder { 19 class WebMouseEventBuilder {
19 public: 20 public:
20 static blink::WebMouseEvent Build( 21 static blink::WebMouseEvent Build(
21 blink::WebInputEvent::Type type, 22 blink::WebInputEvent::Type type,
22 double time_sec, 23 double time_sec,
23 int window_x, 24 int window_x,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 public: 61 public:
61 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type, 62 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type,
62 double time_sec, 63 double time_sec,
63 int x, 64 int x,
64 int y); 65 int y);
65 }; 66 };
66 67
67 } // namespace content 68 } // namespace content
68 69
69 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_ H_ 70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698