| Index: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
| index f57adfc3d1ee158c41a0b631b951ee59a7ecbbb4..dbc2ac9afd5bc4184013527b29de12b0f0577327 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
| @@ -430,6 +430,19 @@ public class ContextualSearchSelectionController {
|
| }
|
| }
|
|
|
| + /**
|
| + * Acknowledges that a selectWordAroundCaret action has completed with the give 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) {
|
| + // TODO(donnd): use startAdjust and endAdjust in upcoming text-extraction CL (started).
|
| + if (!didSelect) mHandler.handleInvalidTap();
|
| + }
|
| +
|
| // ============================================================================================
|
| // Invalid Tap Notification
|
| // ============================================================================================
|
|
|