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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_delegate.h

Issue 2351283002: [TTS] Decode Now on Tap results for v1 integration. (Closed)
Patch Set: Used command-line switch for test, rollback changes needed for the field trial subclass. Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/android/contextualsearch/contextual_search_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/contextualsearch/contextual_search_delegate.h
diff --git a/chrome/browser/android/contextualsearch/contextual_search_delegate.h b/chrome/browser/android/contextualsearch/contextual_search_delegate.h
index ae5946d4bdd1034fe5593ccc6d0ac8c1e0e2203b..4766041076f5f9971067e06185020be2e7aeb252 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_delegate.h
+++ b/chrome/browser/android/contextualsearch/contextual_search_delegate.h
@@ -202,6 +202,12 @@ class ContextualSearchDelegate
int* startResult,
int* endResult);
+ // Decodes the Contextual Cards (Now on Tap) response from the given
+ // dictionary, and sets the subtitle and/or thumbnail if they are present.
+ void DecodeContextualCardsResponse(const base::DictionaryValue& dict,
+ std::string* subtitle,
+ std::string* thumbnail);
+
// Generates a subset of the given surrounding_text string, for Icing
// integration.
// |surrounding_text| the entire text context that contains the selection.
« no previous file with comments | « no previous file | chrome/browser/android/contextualsearch/contextual_search_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698