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 f1abc854327b630f0b30cecde6aad203b4e4da6a..0365ae5e8a3d79b5fe8b08e02814a8b410c22265 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -168,6 +168,13 @@ public: |
// Returns true if there is an ongoing composition or the text is inserted. |
virtual bool confirmComposition(const WebString& text) { return false; } |
+ // Set selection offsets for editable content or input. |
+ virtual bool setEditableSelectionOffsets(int start, int end) { return false; }; |
+ // Set composition offsets for existing text. |
+ virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVector<WebCompositionUnderline>& underlines) { return false; }; |
+ // Select and delete text from |before| to |after|. |
+ virtual void extendSelectionAndDelete(int before, int after) { }; |
+ |
// Fetches the character range of the current composition, also called the |
// "marked range." |
virtual WebRange compositionRange() { return WebRange(); } |