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. |