| Index: services/keyboard/src/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
|
| diff --git a/services/keyboard/src/org/chromium/mojo/keyboard/KeyboardServiceImpl.java b/services/keyboard/src/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
|
| index 42dbc7a79d9591e806562f5b5a83e4bb946c4991..4e0cbfa062295aec8e44c56893dea91623db0a49 100644
|
| --- a/services/keyboard/src/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
|
| +++ b/services/keyboard/src/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
|
| @@ -75,4 +75,17 @@ public class KeyboardServiceImpl implements KeyboardService {
|
| imm.hideSoftInputFromWindow(sViewState.getView().getApplicationWindowToken(), 0);
|
| close();
|
| }
|
| +
|
| + @Override
|
| + public void setText(String text) {
|
| + sViewState.setText(text);
|
| + InputMethodManager imm =
|
| + (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
|
| + imm.restartInput(sViewState.getView());
|
| + }
|
| +
|
| + @Override
|
| + public void setSelection(int start, int end) {
|
| + sViewState.setSelection(start, end);
|
| + }
|
| }
|
|
|