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

Unified Diff: content/renderer/render_widget.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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index fde0e327e5adf517bab96261f8cd76f8eed48856..af68a711b0726a050bb7601a862e9b5f5d68babf 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -292,6 +292,7 @@ class CONTENT_EXPORT RenderWidget
blink::WebTextDirection hint) override;
void setWindowRect(const blink::WebRect&) override;
blink::WebScreenInfo screenInfo() override;
+ void handlePotentialTextSuggestionTap() override;
void resetInputMethod() override;
void didHandleGestureEvent(const blink::WebGestureEvent& event,
bool event_cancelled) override;
@@ -503,6 +504,10 @@ class CONTENT_EXPORT RenderWidget
const gfx::Range& replacement_range,
int relative_cursor_pos);
virtual void OnImeFinishComposingText(bool keep_selection);
+ virtual void OnApplySuggestionReplacement(int document_marker_id,
+ int suggestion_index);
+ virtual void OnDeleteSuggestionHighlight();
+ virtual void OnSuggestionMenuClosed();
// Called when the device scale factor is changed, or the layer tree is
// initialized.

Powered by Google App Engine
This is Rietveld 408576698