Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
| diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
| index 0fb58a0ac4da5cfbc76719e104e64f060ccbafca..3b90e79269d8a5cd58701518b4dd1b89005a940a 100644 |
| --- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
| +++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
| @@ -179,6 +179,15 @@ public interface WebContents extends Parcelable { |
| void selectWordAroundCaret(); |
| /** |
| + * Adjusts the selection starting and ending points by the given amount. |
| + * A negative amount moves the selection towards the beginning of the document, a positive |
|
palmer
2015/07/07 18:40:00
I may be missing a detail, but elsewhere you state
aurimas (slooooooooow)
2015/07/09 00:20:50
Sorry for the confusion. This patch went through c
|
| + * amount moves the selection towards the end of the document. |
| + * @param startAdjust The amount to adjust the start of the selection. |
| + * @param endAdjust The amount to adjust the end of the selection. |
| + */ |
| + public void expandSelectionByCharacterOffset(int startAdjust, int endAdjust); |
| + |
| + /** |
| * Get the URL of the current page. |
| * |
| * @return The URL of the current page. |