Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4163)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java

Issue 1354763003: [Contextual Search] Trigger the translation one-box. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable for non-English users, for now. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
index b213ea335a69c1a4943edcc59effde6952756582..7ea4f47395f2dff370e4c195af6b190efed90ba3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
@@ -920,6 +920,11 @@ public class ContextualSearchPanel extends ContextualSearchPanelAnimation
}
@Override
+ public Context getContext() {
pedro (no code reviews) 2015/10/23 08:50:36 We might not need this (see comment in ContextualS
Donn Denman 2015/10/28 22:17:14 Removed -- thanks for the pointer for getApplicati
+ return mContext;
+ }
+
+ @Override
public void removeLastHistoryEntry(String historyUrl, long urlTimeMs) {
if (mOverlayPanelContent == null) return;
// Expose OverlayPanelContent method.

Powered by Google App Engine
This is Rietveld 408576698