| Index: content/public/android/java/src/org/chromium/content/browser/input/ChromiumBaseInputConnection.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ChromiumBaseInputConnection.java b/content/public/android/java/src/org/chromium/content/browser/input/ChromiumBaseInputConnection.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9cef882282f72f4372df456f5a4229a9303784d1
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/input/ChromiumBaseInputConnection.java
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.content.browser.input;
|
| +
|
| +import android.view.inputmethod.InputConnection;
|
| +
|
| +/**
|
| + * TODO: Insert description here. (generated by changwan)
|
| + */
|
| +public interface ChromiumBaseInputConnection extends InputConnection {
|
| + /**
|
| + * Updates the internal representation of the text being edited and its selection and
|
| + * composition properties.
|
| + *
|
| + * @param text The String contents of the field being edited.
|
| + * @param selectionStart The character offset of the selection start, or the caret position if
|
| + * there is no selection.
|
| + * @param selectionEnd The character offset of the selection end, or the caret position if there
|
| + * is no selection.
|
| + * @param compositionStart The character offset of the composition start, or -1 if there is no
|
| + * composition.
|
| + * @param compositionEnd The character offset of the composition end, or -1 if there is no
|
| + * selection.
|
| + * @param isNonImeChange True when the update was caused by non-IME (e.g. Javascript).
|
| + */
|
| + void updateState(String text, int selectionStart, int selectionEnd, int compositionStart,
|
| + int compositionEnd, boolean isNonImeChange);
|
| +
|
| + /**
|
| + *
|
| + */
|
| + void restartInput();
|
| +}
|
|
|