Index: components/search_engines/template_url.h |
diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h |
index e427b8cd02417469a6a52707c2dce5b51631686f..1fe74496e2196a1994e400bbdaa0da6490969bc2 100644 |
--- a/components/search_engines/template_url.h |
+++ b/components/search_engines/template_url.h |
@@ -81,6 +81,14 @@ class TemplateURLRef { |
const std::string& content, |
const std::string& base_page_url, |
const std::string& encoding); |
+ ContextualSearchParams(const int version, |
+ const size_t start, |
+ const size_t end, |
+ const std::string& selection, |
+ const std::string& content, |
+ const std::string& base_page_url, |
+ const std::string& encoding, |
+ const bool resolve); |
~ContextualSearchParams(); |
// The version of contextual search. |
@@ -103,6 +111,11 @@ class TemplateURLRef { |
// The encoding of content. |
std::string encoding; |
+ |
+ // True to have the server generate a search term based on the user |
+ // selection and surrounding content. False to simply return the user |
+ // selection as the search term. |
+ bool resolve; |
Peter Kasting
2014/07/31 20:33:49
Cool, this is much more comprehensible now.
This
jeremycho
2014/07/31 21:08:39
Done.
|
}; |
// The search terms (query). |