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

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

Issue 1310513010: Support DomCode on Android devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_evdev
Patch Set: Remove Android keycode->domcode conversion path Created 5 years, 3 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 "third_party/WebKit/public/web/WebInputEvent.h" 10 #include "third_party/WebKit/public/web/WebInputEvent.h"
(...skipping 22 matching lines...) Expand all
33 int window_x, 33 int window_x,
34 int window_y); 34 int window_y);
35 }; 35 };
36 36
37 class WebKeyboardEventBuilder { 37 class WebKeyboardEventBuilder {
38 public: 38 public:
39 static blink::WebKeyboardEvent Build(blink::WebInputEvent::Type type, 39 static blink::WebKeyboardEvent Build(blink::WebInputEvent::Type type,
40 int modifiers, 40 int modifiers,
41 double time_sec, 41 double time_sec,
42 int keycode, 42 int keycode,
43 int scancode,
43 int unicode_character, 44 int unicode_character,
44 bool is_system_key); 45 bool is_system_key);
45 }; 46 };
46 47
47 class WebGestureEventBuilder { 48 class WebGestureEventBuilder {
48 public: 49 public:
49 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type, 50 static blink::WebGestureEvent Build(blink::WebInputEvent::Type type,
50 double time_sec, 51 double time_sec,
51 int x, 52 int x,
52 int y); 53 int y);
53 }; 54 };
54 55
55 } // namespace content 56 } // namespace content
56 57
57 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_ H_ 58 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_ANDROID_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698