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 fef805e293e8def43c5a6b3d0ef0863319f4d8ba..93ac77d7a06fc3df47595f36c49dd0efe84f5703 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 |
+ * 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 adjustSelectionByCharacterOffset(int startAdjust, int endAdjust); |
+ |
+ /** |
* Get the URL of the current page. |
* |
* @return The URL of the current page. |