Index: content/public/android/java/src/org/chromium/content/browser/SelectionClient.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/SelectionClient.java b/content/public/android/java/src/org/chromium/content/browser/SelectionClient.java |
index 7c9a844914f480ab7af0c7bab822fedf82dbb7e1..b2c11bff1c226bd8496b534b150381eb11d28187 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/SelectionClient.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/SelectionClient.java |
@@ -35,4 +35,14 @@ public interface SelectionClient { |
* to wait for this responce before taking further actions. |
*/ |
boolean sendsSelectionPopupUpdates(); |
+ |
+ /** |
+ * Acknowledges that a selectWordAroundCaret action has completed with the given result. |
+ * @param didSelect Whether a word was actually selected or not. |
+ * @param startAdjust The adjustment to the selection start offset needed to select the word. |
+ * This is typically a negative number (expressed in terms of number of characters). |
+ * @param endAdjust The adjustment to the selection end offset needed to select the word. |
+ * This is typically a positive number (expressed in terms of number of characters). |
+ */ |
+ void selectWordAroundCaretAck(boolean didSelect, int startAdjust, int endAdjust); |
} |