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

Unified Diff: third_party/WebKit/public/web/WebWidgetClient.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: 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() {}

Powered by Google App Engine
This is Rietveld 408576698