Index: content/public/android/java/src/org/chromium/content/browser/ContextualSearchClient.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContextualSearchClient.java b/content/public/android/java/src/org/chromium/content/browser/ContextualSearchClient.java |
index 96e135c6bd65d4ce23be431b71b645cfd838261f..b0bccd93de67b6a32841888df2778874b904adcb 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContextualSearchClient.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContextualSearchClient.java |
@@ -28,4 +28,14 @@ public interface ContextualSearchClient { |
* @param y The y coordinate of the tap. |
*/ |
void showUnhandledTapUIIfNeeded(int x, int y); |
+ |
+ /** |
+ * 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); |
} |