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

Unified Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/public/web/WebTextSuggestionInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a653c7430add84796d29e188ccad2395bebf81d..05e62eb077b9de560b7149a3254982f7549233a9 100644
--- a/third_party/WebKit/public/web/WebWidgetClient.h
+++ b/third_party/WebKit/public/web/WebWidgetClient.h
@@ -144,6 +144,14 @@ class WebWidgetClient {
// Request the browser to show virtual keyboard for current input type.
virtual void showVirtualKeyboardOnElementFocus() {}
+ // Checks if the composition range or composition character bounds have been
+ // changed. If they are changed, the new value will be sent to the browser
+ // process. This method does nothing when the browser process is not able to
+ // handle composition range and composition character bounds.
+ // If immediate_request is true, render sends the latest composition info to
+ // the browser even if the composition info is not changed.
+ virtual void updateCompositionInfo(bool immediateRequest){};
+
// Request that the browser show a UI for an unhandled tap, if needed.
// Invoked during the handling of a GestureTap input event whenever the
// event is not consumed.
« no previous file with comments | « third_party/WebKit/public/web/WebTextSuggestionInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698