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 3a3630cd1a4f1a7eaba0adcdffa1033996b49b39..270aee5e3f84067714a636cb4f12b952ccc140eb 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 |
@@ -69,7 +69,6 @@ public class ContextualSearchSelectionController { |
private ContextualSearchTapState mLastTapState; |
private TapSuppressionHeuristics mTapHeuristics; |
private boolean mIsWaitingForInvalidTapDetection; |
- private boolean mIsSelectionEstablished; |
private boolean mShouldHandleSelectionModification; |
private boolean mDidExpandSelection; |
@@ -296,12 +295,6 @@ public class ContextualSearchSelectionController { |
case SelectionEventType.SELECTION_HANDLE_DRAG_STOPPED: |
shouldHandleSelection = mShouldHandleSelectionModification; |
break; |
- case SelectionEventType.SELECTION_ESTABLISHED: |
- mIsSelectionEstablished = true; |
- break; |
- case SelectionEventType.SELECTION_DISSOLVED: |
- mIsSelectionEstablished = false; |
- break; |
default: |
} |
@@ -513,14 +506,6 @@ public class ContextualSearchSelectionController { |
} |
/** |
- * @return whether the selection has been established, for testing. |
- */ |
- @VisibleForTesting |
- boolean isSelectionEstablished() { |
- return mIsSelectionEstablished; |
- } |
- |
- /** |
* Evaluates whether the given selection is valid and notifies the handler about potential |
* selection suppression. |
* TODO(pedrosimonetti): substitute this once the system supports suppressing selections. |