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

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: Remove logging statements, fix copyright years in new files 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 d2277a7322104c116ff9eb6b5f3ed02d4b4811fc..56866eb27896cb1e897deea798b87e90abc9efa6 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 ApplySuggestionReplacement(int documentMarkerID, int suggestionIndex);
+ void DeleteSuggestionHighlight();
+ void SuggestionMenuClosed();
+
bool ignore_input_events() const {
return ignore_input_events_;
}
@@ -631,6 +635,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