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

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

Issue 10911012: Upstream Android IME support (ImeAdapter). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits fixed; recent downstream changes applied; ime adapter added to browser_jni_registrar 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
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 94c3f60ef0ae14292c8105e129574845c507d66d..f8525ff7057f047a4a0f71c8a8d38194ac757f73 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -113,6 +113,7 @@ class ContentViewCoreImpl : public ContentViewCore,
void ClearHistory(JNIEnv* env, jobject obj);
void SetClient(JNIEnv* env, jobject obj, jobject jclient);
jint EvaluateJavaScript(JNIEnv* env, jobject obj, jstring script);
+ virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) OVERRIDE;
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE;
void AddJavascriptInterface(JNIEnv* env,
jobject obj,
@@ -135,6 +136,11 @@ class ContentViewCoreImpl : public ContentViewCore,
bool multiple);
void OnTabCrashed(const base::ProcessHandle handle);
+ void ImeUpdateAdapter(int native_ime_adapter, int text_input_type,
+ const std::string& text,
+ int selection_start, int selection_end,
+ int composition_start, int composition_end,
+ bool show_ime_if_needed);
void SetTitle(const string16& title);
bool HasFocus();
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698