Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 120885be0705caff17669741afe458ea12d1586c..4ed6a40fd9138ab124df0847e76824b4ee5bdd22 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -417,6 +417,13 @@ class WebContents : public PageNavigator, |
virtual void SelectAll() = 0; |
virtual void Unselect() = 0; |
+ // Adjust the selection starting and ending points in the focused frame by |
+ // the given amounts. A negative amount moves the selection towards the |
+ // beginning of the document, a positive amount moves the selection towards |
+ // the end of the document. |
+ virtual void AdjustSelectionByCharacterOffset(int start_adjust, |
+ int end_adjust) = 0; |
+ |
// Replaces the currently selected word or a word around the cursor. |
virtual void Replace(const base::string16& word) = 0; |