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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchNetworkCommunicator.java

Issue 2440843002: [Contextual Search] Pipe basic quick action data from C++ to Java (Closed)
Patch Set: [Contextual Search] Pipe basic quick action data from C++ to Java Created 4 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/contextualsearch/ContextualSearchNetworkCommunicator.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchNetworkCommunicator.java b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchNetworkCommunicator.java
index 641f5df6e21ce988f534bec3b86c7b1c2abe60a8..d3eda90ad32a4508abf75d44bee2e18e56583b66 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchNetworkCommunicator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchNetworkCommunicator.java
@@ -38,11 +38,14 @@ public interface ContextualSearchNetworkCommunicator {
* @param contextLanguage The language of the context, or the empty string if unknown.
* @param thumbnailUrl The URL of the thumbnail to display in our UX.
* @param caption The caption to display.
+ * @param quickActionUri The URI for the intent associated with the quick action.
+ * @param quickActionCategory The category for the quick action.
*/
void handleSearchTermResolutionResponse(boolean isNetworkUnavailable, int responseCode,
String searchTerm, String displayText, String alternateTerm, String mid,
boolean doPreventPreload, int selectionStartAdjust, int selectionEndAdjust,
- String contextLanguage, String thumbnailUrl, String caption);
+ String contextLanguage, String thumbnailUrl, String caption,
+ String quickActionUri, String quickActionCategory);
/**
* @return Whether the device is currently online.

Powered by Google App Engine
This is Rietveld 408576698