Index: third_party/WebKit/public/web/WebPlugin.h |
diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h |
index bf0fc8cabf2ef51cca4fc79e6752660274d40dcd..eb202a0f3ba739609dd6fa09b677b8600dc355d6 100644 |
--- a/third_party/WebKit/public/web/WebPlugin.h |
+++ b/third_party/WebKit/public/web/WebPlugin.h |
@@ -161,6 +161,8 @@ public: |
// Deletes the current selection plus the specified number of characters |
// before and after the selection or caret. |
virtual void extendSelectionAndDelete(int before, int after) { } |
+ // Deletes text before and after the current cursor position, excluding the selection. |
+ virtual void deleteSurroundingText(int before, int after) {} |
// If the given position is over a link, returns the absolute url. |
// Otherwise an empty url is returned. |
virtual WebURL linkAtPosition(const WebPoint& position) const { return WebURL(); } |