Index: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java |
index 81825090adeb07caa1924cdc56684c2637a75c5e..c3e4bf091c5203b9174c50ce5585da6514d804eb 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java |
@@ -123,12 +123,21 @@ public class ContentViewClient { |
/** |
* Notification that the selection has changed. |
+ * TODO(donnd): Remove this and instead expose a ContextualSearchClient, crbug.com/403001. |
* @param selection The newly established selection. |
*/ |
public void onSelectionChanged(String selection) { |
} |
/** |
+ * Notification that a selection or insertion-related event has occurred. |
+ * TODO(donnd): Remove this and instead expose a ContextualSearchClient, crbug.com/403001. |
+ * @param eventType The selection event type, see {@link SelectionEventType}. |
+ */ |
+ public void onSelectionEvent(int eventType) { |
+ } |
+ |
+ /** |
* Called when a new content intent is requested to be started. |
*/ |
public void onStartContentIntent(Context context, String intentUrl) { |