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

Unified Diff: content/browser/android/ime_utils.h

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fixes Created 8 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
Index: content/browser/android/ime_utils.h
diff --git a/content/browser/android/ime_utils.h b/content/browser/android/ime_utils.h
deleted file mode 100644
index 87a6e8b6228fd82fcef97708e5d8c381066d78b6..0000000000000000000000000000000000000000
--- a/content/browser/android/ime_utils.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_ANDROID_IME_UTILS_H_
-#define CONTENT_BROWSER_ANDROID_IME_UTILS_H_
-
-#include <jni.h>
-
-class AndroidKeyEvent;
-
-namespace content {
-
-struct NativeWebKeyboardEvent;
-
-// Returns a java KeyEvent from a NativeWebKeyboardEvent, NULL if it fails.
-jobject KeyEventFromNative(const NativeWebKeyboardEvent& event);
-
-// Maps a java KeyEvent into a NativeWebKeyboardEvent.
-// |java_key_event| is used to maintain a globalref for KeyEvent.
-// |action| will help determine the WebInputEvent type.
-// type, |modifiers|, |time_ms|, |key_code|, |unicode_char| is used to create
-// WebKeyboardEvent. |key_code| is also needed ad need to treat the enter key
-// as a key press of character \r.
-NativeWebKeyboardEvent NativeWebKeyboardEventFromKeyEvent(
- JNIEnv* env, jobject java_key_event, int action, int modifiers,
- long time_ms, int key_code, bool is_system_key, int unicode_char);
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_IME_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698