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

Unified Diff: content/browser/renderer_host/ime_adapter_android.h

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Almost the same to the previous patch. 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
Index: content/browser/renderer_host/ime_adapter_android.h
diff --git a/content/browser/renderer_host/ime_adapter_android.h b/content/browser/renderer_host/ime_adapter_android.h
index f181dfa45c2f7db6da562f2a1c9e94d19ba248f2..2d6cdd467f2454a7e6c16d6a1aa40218fd4af88e 100644
--- a/content/browser/renderer_host/ime_adapter_android.h
+++ b/content/browser/renderer_host/ime_adapter_android.h
@@ -49,7 +49,8 @@ class ImeAdapterAndroid {
int new_cursor_pos);
void CommitText(JNIEnv*,
const base::android::JavaParamRef<jobject>&,
- const base::android::JavaParamRef<jstring>& text_str);
+ const base::android::JavaParamRef<jstring>& text_str,
+ int new_cursor_pos = 1);
Changwan Ryu 2016/08/24 01:32:03 this is probably not needed?
yabinh 2016/08/24 06:05:01 Done.
void FinishComposingText(JNIEnv* env,
const base::android::JavaParamRef<jobject>&);
void AttachImeAdapter(

Powered by Google App Engine
This is Rietveld 408576698