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 9bdd5fcc371b6796b21d0bf3a507c964780c0b1e..d3c2d0a5e34f9c1ec70f4e522015493eba9873e5 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -138,30 +138,6 @@ public: |
// Called to inform the WebWidget that it has gained or lost keyboard focus. |
virtual void setFocus(bool) { } |
- // Called to inform the WebWidget of a new composition text. |
- // If selectionStart and selectionEnd has the same value, then it indicates |
- // the input caret position. If the text is empty, then the existing |
- // composition text will be cancelled. |
- // Returns true if the composition text was set successfully. |
- virtual bool setComposition( |
- const WebString& text, |
- const WebVector<WebCompositionUnderline>& underlines, |
- int selectionStart, |
- int selectionEnd) { return false; } |
- |
- enum ConfirmCompositionBehavior { |
- DoNotKeepSelection, |
- KeepSelection, |
- }; |
- |
- // Called to inform the WebWidget that deleting the ongoing composition if |
- // any, inserting the specified text, and moving the caret according to |
- // relativeCaretPosition. |
- virtual bool commitText(const WebString& text, int relativeCaretPosition) { return false; } |
- |
- // Called to inform the WebWidget to confirm an ongoing composition. |
- virtual bool finishComposingText(ConfirmCompositionBehavior selectionBehavior) { return false; } |
- |
// Fetches the character range of the current composition, also called the |
// "marked range." |
virtual WebRange compositionRange() { return WebRange(); } |