| Index: third_party/WebKit/public/web/WebFrame.h
|
| diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
|
| index fef5c5163e50a6286d0e76b01e94156d7d024c8e..1151440c1accdc74abd65a31f28fe5b4e90bab4e 100644
|
| --- a/third_party/WebKit/public/web/WebFrame.h
|
| +++ b/third_party/WebKit/public/web/WebFrame.h
|
| @@ -402,70 +402,6 @@ public:
|
| virtual bool isLoading() const;
|
|
|
|
|
| - // Editing -------------------------------------------------------------
|
| -
|
| - virtual void insertText(const WebString& text) = 0;
|
| -
|
| - virtual void setMarkedText(const WebString& text, unsigned location, unsigned length) = 0;
|
| - virtual void unmarkText() = 0;
|
| - virtual bool hasMarkedText() const = 0;
|
| -
|
| - virtual WebRange markedRange() const = 0;
|
| -
|
| - // Returns the text range rectangle in the viepwort coordinate space.
|
| - virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const = 0;
|
| -
|
| - // Returns the index of a character in the Frame's text stream at the given
|
| - // point. The point is in the viewport coordinate space. Will return
|
| - // WTF::notFound if the point is invalid.
|
| - virtual size_t characterIndexForPoint(const WebPoint&) const = 0;
|
| -
|
| - // Supports commands like Undo, Redo, Cut, Copy, Paste, SelectAll,
|
| - // Unselect, etc. See EditorCommand.cpp for the full list of supported
|
| - // commands.
|
| - virtual bool executeCommand(const WebString&) = 0;
|
| - virtual bool executeCommand(const WebString&, const WebString& value) = 0;
|
| - virtual bool isCommandEnabled(const WebString&) const = 0;
|
| -
|
| - // Spell-checking support.
|
| - virtual void enableContinuousSpellChecking(bool) = 0;
|
| - virtual bool isContinuousSpellCheckingEnabled() const = 0;
|
| - virtual void requestTextChecking(const WebElement&) = 0;
|
| - virtual void removeSpellingMarkers() = 0;
|
| -
|
| - // Selection -----------------------------------------------------------
|
| -
|
| - virtual bool hasSelection() const = 0;
|
| -
|
| - virtual WebRange selectionRange() const = 0;
|
| -
|
| - virtual WebString selectionAsText() const = 0;
|
| - virtual WebString selectionAsMarkup() const = 0;
|
| -
|
| - // Expands the selection to a word around the caret and returns
|
| - // true. Does nothing and returns false if there is no caret or
|
| - // there is ranged selection.
|
| - virtual bool selectWordAroundCaret() = 0;
|
| -
|
| - // DEPRECATED: Use moveRangeSelection.
|
| - virtual void selectRange(const WebPoint& base, const WebPoint& extent) = 0;
|
| -
|
| - virtual void selectRange(const WebRange&) = 0;
|
| -
|
| - // Move the current selection to the provided viewport point/points. If the
|
| - // current selection is editable, the new selection will be restricted to
|
| - // the root editable element.
|
| - // |TextGranularity| represents character wrapping granularity. If
|
| - // WordGranularity is set, WebFrame extends selection to wrap word.
|
| - virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFrame::TextGranularity = CharacterGranularity) = 0;
|
| - virtual void moveCaretSelection(const WebPoint&) = 0;
|
| -
|
| - virtual bool setEditableSelectionOffsets(int start, int end) = 0;
|
| - virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0;
|
| - virtual void extendSelectionAndDelete(int before, int after) = 0;
|
| -
|
| - virtual void setCaretVisible(bool) = 0;
|
| -
|
| // Printing ------------------------------------------------------------
|
|
|
| // Reformats the WebFrame for printing. WebPrintParams specifies the printable
|
|
|