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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.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/ContextualSearchPanelDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java
index 56ee380c5d53545cc7b7ae69020886fc333077e0..e262b7cb2c8cbae6db47a78cafe09396fd5dddfb 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java
@@ -4,6 +4,8 @@
package org.chromium.chrome.browser.compositor.bottombar.contextualsearch;
+import android.content.Context;
+
import org.chromium.base.VisibleForTesting;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.compositor.bottombar.OverlayPanelContent;
@@ -134,6 +136,11 @@ public interface ContextualSearchPanelDelegate {
ContentViewCore getContentViewCore();
/**
+ * @return The Context associated with the panel.
+ */
+ Context getContext();
pedro (no code reviews) 2015/10/23 08:50:36 FYI: The delegate has been removed. Users now acce
Donn Denman 2015/10/28 22:17:15 Removed this too.
+
+ /**
* Remove the last entry from history provided it is in a given time frame.
* @param historyUrl The URL to remove.
* @param urlTimeMs The time that the URL was visited.

Powered by Google App Engine
This is Rietveld 408576698