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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 2523753003: Add inputmode to android ImeAdapater. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index d28f3cafecefef49f46f739920630bbae465807b..24fb5ddeb4717a446974ea18439ed82b48e8ac33 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1998,8 +1998,8 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
@CalledByNative
private void updateImeAdapter(long nativeImeAdapterAndroid, int textInputType,
- int textInputFlags, String text, int selectionStart, int selectionEnd,
- int compositionStart, int compositionEnd, boolean showImeIfNeeded,
+ int textInputFlags, int textInputMode, String text, int selectionStart,
+ int selectionEnd, int compositionStart, int compositionEnd, boolean showImeIfNeeded,
boolean isNonImeChange) {
try {
TraceEvent.begin("ContentViewCore.updateImeAdapter");
@@ -2008,7 +2008,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
mImeAdapter.attach(nativeImeAdapterAndroid);
mImeAdapter.updateKeyboardVisibility(
- textInputType, textInputFlags, showImeIfNeeded);
+ textInputType, textInputFlags, textInputMode, showImeIfNeeded);
mImeAdapter.updateState(text, selectionStart, selectionEnd, compositionStart,
compositionEnd, isNonImeChange);

Powered by Google App Engine
This is Rietveld 408576698