Chromium Code Reviews| Index: third_party/WebKit/public/web/WebPlugin.h |
| diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h |
| index 9e9d71dbc271534ffd13ba50adef7f8df765e489..a9c271ee255706fe46b6729c59885426d7e59f53 100644 |
| --- a/third_party/WebKit/public/web/WebPlugin.h |
| +++ b/third_party/WebKit/public/web/WebPlugin.h |
| @@ -156,7 +156,7 @@ public: |
| virtual bool setComposition(const WebString& text, const WebVector<WebCompositionUnderline>& underlines, int selectionStart, int selectionEnd) { return false; } |
| // Confirms an ongoing composition and returns true if there is an ongoing |
| // composition or the text is inserted. |
| - virtual bool confirmComposition(const WebString& text, WebWidget::ConfirmCompositionBehavior selectionBehavior) { return false; } |
| + virtual bool confirmComposition(const WebString& text, WebWidget::ConfirmCompositionBehavior selectionBehavior, int relativeCursorPosition) { return false; } |
|
yosin_UTC9
2016/08/26 10:06:11
Could you use "caret" instead of "cursor" in Blink
yabinh
2016/08/29 05:49:53
Done.
|
| // Deletes the current selection plus the specified number of characters |
| // before and after the selection or caret. |
| virtual void extendSelectionAndDelete(int before, int after) { } |