Index: content/renderer/input/render_widget_input_handler_delegate.h |
diff --git a/content/renderer/input/render_widget_input_handler_delegate.h b/content/renderer/input/render_widget_input_handler_delegate.h |
index d1fd030b3789ed8ccdf52b1cbfe7fe283929077d..e70330883a7b93e434419d5a597409f7c7b6a1ec 100644 |
--- a/content/renderer/input/render_widget_input_handler_delegate.h |
+++ b/content/renderer/input/render_widget_input_handler_delegate.h |
@@ -70,6 +70,11 @@ class CONTENT_EXPORT RenderWidgetInputHandlerDelegate { |
// Send an update of text input state to the browser process. |
virtual void UpdateTextInputState() = 0; |
+ // Called when a tap changes the current text selection (or keeps it the |
+ // same). Sends an IPC message to the InputHost if a menu displaying suggested |
+ // text replacements should be shown. |
+ virtual void HandlePotentialTextSuggestionTap() = 0; |
+ |
// Notifies that a gesture event is about to be handled. |
// Returns true if no further handling is needed. In that case, the event |
// won't be sent to WebKit. |