Chromium Code Reviews| Index: blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java |
| diff --git a/blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java b/blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java |
| index 2b9b7f166d5318459114ab02fec7f00f7a4bcb44..ae60b5e1c561018f4f67a4363ae22f3f01a525b4 100644 |
| --- a/blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java |
| +++ b/blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java |
| @@ -20,7 +20,7 @@ import org.chromium.blimp.auth.RetryingTokenSource; |
| import org.chromium.blimp.auth.TokenSource; |
| import org.chromium.blimp.auth.TokenSourceImpl; |
| import org.chromium.blimp.core.BlimpClientSwitches; |
| -import org.chromium.blimp.input.WebInputBox; |
| +import org.chromium.blimp.input.ImeHelperDialog; |
| import org.chromium.blimp.preferences.PreferencesUtil; |
| import org.chromium.blimp.session.BlimpClientSession; |
| import org.chromium.blimp.session.EngineInfo; |
| @@ -53,7 +53,7 @@ public class BlimpRendererActivity |
| private Toolbar mToolbar; |
| private BlimpClientSession mBlimpClientSession; |
| private TabControlFeature mTabControlFeature; |
| - private WebInputBox mWebInputBox; |
| + private ImeHelperDialog mImeHelperDialog; |
|
David Trainor- moved to gerrit
2016/08/22 21:25:24
We'll have to make this driven by native at some p
shaktisahu
2016/08/23 17:35:14
Acknowledged. I will work towards it in a subseque
|
| private Handler mHandler = new Handler(); |
| @@ -102,9 +102,9 @@ public class BlimpRendererActivity |
| mToolbar = null; |
| } |
| - if (mWebInputBox != null) { |
| - mWebInputBox.destroy(); |
| - mWebInputBox = null; |
| + if (mImeHelperDialog != null) { |
| + mImeHelperDialog.destroy(); |
| + mImeHelperDialog = null; |
| } |
| if (mTokenSource != null) { |
| @@ -167,8 +167,8 @@ public class BlimpRendererActivity |
| mToolbar = (Toolbar) findViewById(R.id.toolbar); |
| mToolbar.initialize(mBlimpClientSession, this); |
| - mWebInputBox = (WebInputBox) findViewById(R.id.editText); |
| - mWebInputBox.initialize(mBlimpClientSession); |
| + mImeHelperDialog = new ImeHelperDialog(this); |
|
David Trainor- moved to gerrit
2016/08/22 21:25:24
We won't have access to the Activity Context in 0.
shaktisahu
2016/08/23 17:35:14
What type of context will we have?
LayoutInflater
|
| + mImeHelperDialog.initialize(mBlimpClientSession); |
| mTabControlFeature = new TabControlFeature(mBlimpClientSession, mBlimpView); |