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

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

Issue 720313004: Add autocapitalize support to IME support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass and use inputmode for auto-capitalization settings Created 6 years 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/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 281d6a459ab76fa817a11693f8da7c7581cd1042..6b1e7e2cf919b262c48036dfda40b8724a26f3cc 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1191,6 +1191,7 @@ long ContentViewCoreImpl::GetNativeImeAdapter(JNIEnv* env, jobject obj) {
void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
int text_input_type,
+ int text_input_mode,
int text_input_flags,
const std::string& text,
int selection_start,
@@ -1209,6 +1210,7 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
obj.obj(),
native_ime_adapter,
text_input_type,
+ text_input_mode,
text_input_flags,
jstring_text.obj(),
selection_start,

Powered by Google App Engine
This is Rietveld 408576698