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

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

Issue 2211353002: [TTS] Gather surrounding text on Tap before any UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused code and consolidated two functions, updated comments. 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
Index: chrome/browser/android/contextualsearch/contextual_search_context.h
diff --git a/chrome/browser/android/contextualsearch/contextual_search_context.h b/chrome/browser/android/contextualsearch/contextual_search_context.h
index 325ec6d7b2d15c200825c063f6518c5f181d167e..7faabb4a115675b28144eb0bfb2ef74f326fce58 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_context.h
+++ b/chrome/browser/android/contextualsearch/contextual_search_context.h
@@ -18,13 +18,16 @@ struct ContextualSearchContext {
const bool use_resolved_search_term,
const GURL& page_url,
const std::string& encoding);
+ ContextualSearchContext(const bool use_resolved_search_term,
+ const GURL& page_url,
+ const std::string& encoding);
~ContextualSearchContext();
- const std::string selected_text;
const bool use_resolved_search_term;
const GURL page_url;
const std::string encoding;
+ std::string selected_text;
base::string16 surrounding_text;
int start_offset;
int end_offset;
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/contextualsearch/contextual_search_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698