Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java |
index c332ff323c6f6fb6b39a24be1a4a3b63ad593b19..5946d8580dbe65de273307ca5233540ff5180e6d 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java |
@@ -221,15 +221,15 @@ public class ContextualSearchBarControl |
} |
/** |
- * Sets the search context to display in the control. |
+ * Sets the details of the context to display in the control. |
* @param selection The portion of the context that represents the user's selection. |
* @param end The portion of the context after the selection. |
*/ |
- public void setSearchContext(String selection, String end) { |
+ public void setContextDetails(String selection, String end) { |
cancelSearchTermResolutionAnimation(); |
hideCaption(); |
mQuickActionControl.reset(); |
- mContextControl.setSearchContext(selection, end); |
+ mContextControl.setContextDetails(selection, end); |
resetSearchBarContextOpacity(); |
animateDividerLine(false); |
} |