Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 60cca7c752765ef0687868539dd2900191d0d945..22007974af4527e6be6167faaa2c3ffe1cfd4d25 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -425,6 +425,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// Cancels an ongoing composition.
void ImeCancelComposition();
+ void ImeApplySuggestionReplacement(int documentMarkerID, int suggestionIndex);
+ void ImeDeleteSuggestionHighlight();
+ void ImeCloseSuggestionMenu();
+
bool ignore_input_events() const {
return ignore_input_events_;
}
@@ -635,6 +639,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
const gfx::Range& range,
const std::vector<gfx::Rect>& character_bounds);
void OnImeCancelComposition();
+ void OnShowTextSuggestionMenu(
+ const std::vector<blink::WebTextSuggestionInfo>& suggestionInfos);
void OnLockMouse(bool user_gesture,
bool last_unlocked_by_target,
bool privileged);

Powered by Google App Engine
This is Rietveld 408576698