Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: third_party/WebKit/public/web/WebPlugin.h

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change back to patch set #25 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 600f26ad293bf642374975bbe2266e1946b94619..79205702a02b6d1dc395e47c1137dff1ec9a07d8 100644
--- a/third_party/WebKit/public/web/WebPlugin.h
+++ b/third_party/WebKit/public/web/WebPlugin.h
@@ -195,6 +195,9 @@ class WebPlugin {
// 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 {
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698