diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 17:50:22 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 17:50:22 +0000 |
commit | a100d76bbc0afe58ef7761a1eaf06cb1489cc1b1 (patch) | |
tree | 4b186f6c37ce0adc97516efce9ec31cea47e732c /webkit/api | |
parent | 8a9f6525ba1fb42d4b8754bd93c25f5d9e559849 (diff) | |
download | chromium_src-a100d76bbc0afe58ef7761a1eaf06cb1489cc1b1.zip chromium_src-a100d76bbc0afe58ef7761a1eaf06cb1489cc1b1.tar.gz chromium_src-a100d76bbc0afe58ef7761a1eaf06cb1489cc1b1.tar.bz2 |
Remove WebFrame::selectAll and WebFrame::clearSelection in favor of having
consumers use executeCommand.
Patch by Marshall Greenblatt
R=darin
BUG=19270
TEST=covered by unit tests
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r-- | webkit/api/public/WebFrame.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/api/public/WebFrame.h b/webkit/api/public/WebFrame.h index be7ca8b..1201cc2 100644 --- a/webkit/api/public/WebFrame.h +++ b/webkit/api/public/WebFrame.h @@ -303,7 +303,9 @@ namespace WebKit { virtual WebRange markedRange() const = 0; - // See EditorCommand.cpp for the list of supported commands. + // 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; @@ -315,8 +317,6 @@ namespace WebKit { // Selection ----------------------------------------------------------- - virtual void selectAll() = 0; - virtual void clearSelection() = 0; virtual bool hasSelection() const = 0; virtual WebRange selectionRange() const = 0; |