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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.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/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.java
index 32e8552e9837a8f1a84a9367132614a62c2800da..8ec3f26ae7f5d27085c2e60c2afce103d4181d34 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeActivityTestRule.java
@@ -197,10 +197,6 @@
+ ", input type history: " + Arrays.deepToString(history);
}
- void performEditorAction(final int action) {
- mConnection.performEditorAction(action);
- }
-
void performGo(TestCallbackHelperContainer testCallbackHelperContainer) throws Throwable {
final InputConnection inputConnection = mConnection;
final Callable<Void> callable = new Callable<Void>() {
@@ -534,10 +530,10 @@
*/
void focusElementAndWaitForStateUpdate(String id)
throws InterruptedException, TimeoutException {
- resetAllStates();
+ resetUpdateSelectionList();
focusElement(id);
waitAndVerifyUpdateSelection(0, 0, 0, -1, -1);
- resetAllStates();
+ resetUpdateSelectionList();
}
void focusElement(final String id) throws InterruptedException, TimeoutException {
@@ -574,7 +570,7 @@
EditorInfo outAttrs) {
mTextInputTypeList.add(inputType);
mOutAttrs = outAttrs;
- return mFactory.initializeAndGet(view, imeAdapter, inputType, inputFlags, inputMode,
+ return mFactory.initializeAndGet(view, imeAdapter, inputType, inputMode, inputFlags,
selectionStart, selectionEnd, outAttrs);
}

Powered by Google App Engine
This is Rietveld 408576698