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

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

Issue 2487343003: Deleting ReplicaInputConnection.java and ReplicaInputConnectionTest.java (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/input/ImeAdapter.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java b/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java
index 4a773393b07c6c7d803be65c1ee3b7e06fb36e93..dbd53ee10d9134a785634b1a235edcd06ff40bb3 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java
@@ -156,21 +156,9 @@ public class ImeAdapter {
}
}
- private boolean isImeThreadEnabled() {
- if (mNativeImeAdapterAndroid == 0) return false;
- return nativeIsImeThreadEnabled(mNativeImeAdapterAndroid);
- }
-
private void createInputConnectionFactory() {
if (mInputConnectionFactory != null) return;
- if (isImeThreadEnabled()) {
- Log.i(TAG, "ImeThread is enabled.");
- mInputConnectionFactory =
- new ThreadedInputConnectionFactory(mInputMethodManagerWrapper);
- } else {
- Log.i(TAG, "ImeThread is not enabled.");
- mInputConnectionFactory = new ReplicaInputConnection.Factory();
- }
+ mInputConnectionFactory = new ThreadedInputConnectionFactory(mInputMethodManagerWrapper);
}
/**

Powered by Google App Engine
This is Rietveld 408576698