Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
| diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
| index 076933575cab1f0a234a654b645ede49cbb36acb..17ec1e83ffed9a9b8d91d85b7187a125df70c87a 100644 |
| --- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
| +++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
| @@ -15,6 +15,7 @@ class InputMethodController; |
| class LocalFrame; |
| class WebLocalFrameImpl; |
| class WebPlugin; |
| +class WebRange; |
| class WebString; |
| class WebInputMethodControllerImpl : public WebInputMethodController { |
| @@ -29,10 +30,12 @@ class WebInputMethodControllerImpl : public WebInputMethodController { |
| // WebInputMethodController overrides. |
| bool setComposition(const WebString& text, |
| const WebVector<WebCompositionUnderline>& underlines, |
| + const WebRange& replacementRange, |
| int selectionStart, |
|
dglazkov
2017/02/07 16:47:45
Would you consider switching selectionStart/select
EhsanK
2017/02/07 17:14:47
Yes definitely. I filed a bug and assigned it to m
|
| int selectionEnd) override; |
| bool commitText(const WebString& text, |
| const WebVector<WebCompositionUnderline>& underlines, |
| + const WebRange& replacementRange, |
| int relativeCaretPosition) override; |
| bool finishComposingText( |
| ConfirmCompositionBehavior selectionBehavior) override; |