Index: third_party/WebKit/public/web/WebLocalFrame.h |
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
index e925bf81cf2b2d5e5a5c0586ac9f12a3322673b2..3b45fd1e171c96dbefcb86b30ebe65ddd2f1c90e 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -295,6 +295,9 @@ class WebLocalFrame : public WebFrame { |
virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |
// Replaces the selection with the input string. |
virtual void replaceSelection(const WebString&) = 0; |
+ // Deletes text before and after the current cursor position, excluding the |
+ // selection. |
+ virtual void deleteSurroundingText(int before, int after) = 0; |
// Spell-checking support ------------------------------------------------- |
virtual void replaceMisspelledRange(const WebString&) = 0; |