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

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

Issue 2741993003: Revert restartInput change off the M57 release branch. (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d2e9e1fc35b3df9b4353e1f7c8586fb87f3ec61..ce2ee82caafa55761070ad421262d5b01aad5c7a 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
@@ -1906,9 +1906,10 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
boolean focusedNodeIsPassword = (textInputType == TextInputType.PASSWORD);
mImeAdapter.attach(nativeImeAdapterAndroid);
- mImeAdapter.updateState(textInputType, textInputFlags, textInputMode, showImeIfNeeded,
- text, selectionStart, selectionEnd, compositionStart, compositionEnd,
- replyToRequest);
+ mImeAdapter.updateKeyboardVisibility(
+ textInputType, textInputFlags, textInputMode, showImeIfNeeded);
+ mImeAdapter.updateState(text, selectionStart, selectionEnd, compositionStart,
+ compositionEnd, replyToRequest);
boolean editableToggled = (focusedNodeEditable != isFocusedNodeEditable());
mSelectionPopupController.updateSelectionState(focusedNodeEditable,
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698