| Index: content/browser/renderer_host/ime_adapter_android.h
|
| diff --git a/content/browser/renderer_host/ime_adapter_android.h b/content/browser/renderer_host/ime_adapter_android.h
|
| index 1621811f02ca365b4ebdc79b9302b5afc66e170e..0b9f0002f8e44beb09e289764d048dfdff67cb03 100644
|
| --- a/content/browser/renderer_host/ime_adapter_android.h
|
| +++ b/content/browser/renderer_host/ime_adapter_android.h
|
| @@ -8,6 +8,8 @@
|
| #include <jni.h>
|
|
|
| #include "base/android/jni_weak_ref.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| +#include "ui/gfx/geometry/rect.h"
|
|
|
| namespace content {
|
|
|
| @@ -54,6 +56,9 @@ class ImeAdapterAndroid {
|
| void SetEditableSelectionOffsets(JNIEnv*, jobject, int start, int end);
|
| void SetComposingRegion(JNIEnv*, jobject, int start, int end);
|
| void DeleteSurroundingText(JNIEnv*, jobject, int before, int after);
|
| + bool RequestCursorUpdates(JNIEnv* env,
|
| + jobject obj,
|
| + int cursor_update_mode);
|
| void Unselect(JNIEnv*, jobject);
|
| void SelectAll(JNIEnv*, jobject);
|
| void Cut(JNIEnv*, jobject);
|
| @@ -64,6 +69,8 @@ class ImeAdapterAndroid {
|
| // Called from native -> java
|
| void CancelComposition();
|
| void FocusedNodeChanged(bool is_editable_node);
|
| + void UpdateCursorAnchorInfo(
|
| + const base::android::ScopedJavaLocalRef<jobject>& cursor_anchor_info);
|
|
|
| private:
|
| RenderWidgetHostImpl* GetRenderWidgetHostImpl();
|
|
|