Index: third_party/WebKit/public/web/WebWidgetClient.h |
diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h |
index 1cc46a4e759076592315891a73afc0579c55d495..8fa7937bb436353feb672a74e4178ede8ba463e2 100644 |
--- a/third_party/WebKit/public/web/WebWidgetClient.h |
+++ b/third_party/WebKit/public/web/WebWidgetClient.h |
@@ -106,6 +106,11 @@ class WebWidgetClient { |
// displayed. |
virtual WebScreenInfo screenInfo() { return WebScreenInfo(); } |
+ // Called when a tap event potentially changes the text selection; |
+ // should check if the user tapped on some text with suggested replacements |
+ // associated with it, and if so, show a menu with those replacements. |
+ virtual void handlePotentialTextSuggestionTap() {} |
+ |
// When this method gets called, WebWidgetClient implementation should |
// reset the input method by cancelling any ongoing composition. |
virtual void resetInputMethod() {} |