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 69940c6f0432a1a77dcfec87fd7dd47e04b2459d..da770df7ed447fd31d3b85a258eca614d8347e3b 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -291,6 +291,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; |