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

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

Issue 313053007: Passing BackgroundColorSpan and UnderlineSpan from Clank to Blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 6 years, 6 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 e920c03d80214c4e53337dab8123034960f72c04..b61c366cd77295f87dba8d8e65e84cf4222a5bf8 100644
--- a/content/browser/renderer_host/ime_adapter_android.h
+++ b/content/browser/renderer_host/ime_adapter_android.h
@@ -42,7 +42,14 @@ class ImeAdapterAndroid {
long timestamp_ms,
int native_key_code,
int unicode_char);
- void SetComposingText(JNIEnv*, jobject, jstring text, int new_cursor_pos);
+ // |spanObjArray| is obtained from |spannableStringObj| through its
+ // |.getSpans()| interface.
+ void SetComposingText(JNIEnv*,
+ jobject,
+ jstring text,
+ int new_cursor_pos,
+ jobject spannableStringObj,
+ jobjectArray spanObjArray);
void CommitText(JNIEnv*, jobject, jstring text);
void FinishComposingText(JNIEnv* env, jobject);
void AttachImeAdapter(JNIEnv*, jobject java_object);

Powered by Google App Engine
This is Rietveld 408576698