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

Unified Diff: chrome/browser/search_engines/prepopulated_engines_schema.json

Issue 11552020: Add search_terms_replacement_key field to TemplateURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with protector removal Created 8 years 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/search_engines/prepopulated_engines_schema.json
diff --git a/chrome/browser/search_engines/prepopulated_engines_schema.json b/chrome/browser/search_engines/prepopulated_engines_schema.json
index 0838e224f5100ccc3d5a0744e4ac894cabaa5e1e..4904b1f66ce3cc512f3a4b93804f4e5c9fcc5b76 100644
--- a/chrome/browser/search_engines/prepopulated_engines_schema.json
+++ b/chrome/browser/search_engines/prepopulated_engines_schema.json
@@ -23,9 +23,9 @@
"optional": true
},
// If omitted, this engine does not support suggestions.
- { "field": "suggest_url", "type": "string", "optional": true },
+ { "field": "suggest_url", "type": "string", "optional": true },
// If omitted, this engine does not support instant.
- { "field": "instant_url", "type": "string", "optional": true },
+ { "field": "instant_url", "type": "string", "optional": true },
// A list of URL patterns that can be used, in addition to |search_url|,
// to extract search terms from a URL.
{
@@ -34,6 +34,15 @@
"contents": { "type": "string" },
"optional": true
},
+ // A parameter that, if present and non-zero in a search_url or
+ // instant_url, causes Chrome to replace the URL with the search term.
+ // The parameter must be in the query if the search terms are in the query,
+ // and in the ref if the search terms are in the ref.
Peter Kasting 2012/12/18 01:54:43 Two generalization questions. Both of these sprin
beaudoin 2012/12/20 04:23:29 With "espv=0" GWS does not remove the textbox in t
David Black 2012/12/20 19:29:49 espv being present is fine. From GWS's perspectiv
Peter Kasting 2012/12/20 19:37:13 What about the query-versus-ref issue? Is it OK t
beaudoin 2013/01/03 18:49:40 Changed the comment to indicate the parameter need
+ {
+ "field": "search_terms_replacement_key",
+ "type": "string",
+ "optional": true
+ },
{
"field": "type",
"type": "enum",

Powered by Google App Engine
This is Rietveld 408576698