Chromium Code Reviews| Index: third_party/WebKit/public/web/WebWidget.h |
| diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h |
| index bc0a6faeadee75a26c1916d92d571baf15aba835..5de2b303aaeeb561ab75881dd72883a44b32da89 100644 |
| --- a/third_party/WebKit/public/web/WebWidget.h |
| +++ b/third_party/WebKit/public/web/WebWidget.h |
| @@ -165,7 +165,7 @@ public: |
| // current selection and inserts the text. This method has no effect if |
| // there is no ongoing composition and the text is empty. |
| // Returns true if there is an ongoing composition or the text is inserted. |
| - virtual bool confirmComposition(const WebString& text) { return false; } |
| + virtual bool confirmComposition(const WebString& text, int relativeCaretPosition) { return false; } |
|
tkent
2016/08/30 07:47:11
This is a public interfacce. So we should add des
yabinh
2016/08/30 12:33:05
Done.
|
| // Fetches the character range of the current composition, also called the |
| // "marked range." Returns true and fills the out-paramters on success; |