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

Unified Diff: content/public/browser/native_web_keyboard_event.h

Issue 2206053002: Use KeyDown instead of RawKeyDown for Android key events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments and disable test Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/native_web_keyboard_event.h
diff --git a/content/public/browser/native_web_keyboard_event.h b/content/public/browser/native_web_keyboard_event.h
index 0e305a62391abca52a2db36151ffeccafa97df81..c31681e864977227cba52c28a19fe8e5d3b8d3e9 100644
--- a/content/public/browser/native_web_keyboard_event.h
+++ b/content/public/browser/native_web_keyboard_event.h
@@ -30,14 +30,7 @@ struct CONTENT_EXPORT NativeWebKeyboardEvent :
explicit NativeWebKeyboardEvent(gfx::NativeEvent native_event);
#if defined(OS_ANDROID)
- NativeWebKeyboardEvent(blink::WebInputEvent::Type type,
- int modifiers,
- double time_secs,
- int keycode,
- int scancode,
- int unicode_character,
- bool is_system_key);
- // Takes ownership of android_key_event.
+ // Holds a global ref to android_key_event (allowed to be null).
NativeWebKeyboardEvent(
JNIEnv* env,
const base::android::JavaRef<jobject>& android_key_event,
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698