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 57610c06644b5f6dd98a6133c485929ecdcf263a..10ea3c3507032ee5fb88f16ece310f4476b215dd 100644 |
--- a/content/browser/renderer_host/ime_adapter_android.h |
+++ b/content/browser/renderer_host/ime_adapter_android.h |
@@ -16,6 +16,7 @@ |
namespace blink { |
struct WebCompositionUnderline; |
+struct WebTextSuggestionInfo; |
} // namespace blink |
@@ -80,11 +81,21 @@ class ImeAdapterAndroid { |
bool immediateRequest, bool monitorRequest); |
bool RequestTextInputStateUpdate(JNIEnv*, |
const base::android::JavaParamRef<jobject>&); |
+ void ApplySuggestionReplacement(JNIEnv*, |
+ const base::android::JavaParamRef<jobject>&, |
+ int documentMarkerID, |
+ int suggestionIndex); |
+ void DeleteSuggestionHighlight(JNIEnv*, |
+ const base::android::JavaParamRef<jobject>&); |
+ void SuggestionMenuClosed(JNIEnv*, |
+ const base::android::JavaParamRef<jobject>&); |
// Called from native -> java |
void CancelComposition(); |
void FocusedNodeChanged(bool is_editable_node); |
void SetCharacterBounds(const std::vector<gfx::RectF>& rects); |
+ void ShowTextSuggestionMenu( |
+ const std::vector<blink::WebTextSuggestionInfo>& suggestion_infos); |
private: |
RenderWidgetHostImpl* GetRenderWidgetHostImpl(); |