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

Unified Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java

Issue 2938123002: Revert of [Android] Adding Smart GO/NEXT feature in Chrome (Closed)
Patch Set: Created 3 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/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java
index dfe5e555dc0d67c013562fcbfdf1ad88b5a3a956..932370b989feead40510f248c6295d629cc93063 100644
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java
@@ -39,7 +39,6 @@
private final List<Pair<Range, Range>> mUpdateSelectionList;
private int mUpdateCursorAnchorInfoCounter;
private CursorAnchorInfo mLastCursorAnchorInfo;
- private final ArrayList<EditorInfo> mEditorInfoList = new ArrayList<>();
public TestInputMethodManagerWrapper(ContentViewCore contentViewCore) {
super(null);
@@ -54,7 +53,6 @@
Log.d(TAG, "restartInput: count [%d]", mRestartInputCounter);
EditorInfo editorInfo = new EditorInfo();
mInputConnection = mContentViewCore.onCreateInputConnection(editorInfo);
- mEditorInfoList.add(editorInfo);
}
@Override
@@ -65,7 +63,6 @@
if (mInputConnection != null) return;
EditorInfo editorInfo = new EditorInfo();
mInputConnection = mContentViewCore.onCreateInputConnection(editorInfo);
- mEditorInfoList.add(editorInfo);
}
@Override
@@ -141,7 +138,6 @@
mShowSoftInputCounter = 0;
mHideSoftInputCounter = 0;
mUpdateSelectionList.clear();
- mEditorInfoList.clear();
}
public InputConnection getInputConnection() {
@@ -172,10 +168,6 @@
return mLastCursorAnchorInfo;
}
- public ArrayList<EditorInfo> getEditorInfoList() {
- return mEditorInfoList;
- }
-
public void onUpdateSelection(Range oldSel, Range oldComp, Range newSel, Range newComp) {}
public void expectsSelectionOutsideComposition() {}

Powered by Google App Engine
This is Rietveld 408576698