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 2dac83d7074bcb0226a682b3282eefc7e058e40c..80d04c8a118eabf9fed94640b3f435f6f0c9a0b9 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -181,6 +181,8 @@ public: |
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; |