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

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: Comments now describe a simpler behavior for the parameter. Created 7 years, 12 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/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..ae0f1adf006263635935b42662f98402d5b6e8c2 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,14 @@
"contents": { "type": "string" },
"optional": true
},
+ // A parameter that, if present in the query or ref parameters of a
+ // search_url or instant_url, causes Chrome to replace the URL with the
+ // search term.
+ {
+ "field": "search_terms_replacement_key",
+ "type": "string",
+ "optional": true
+ },
{
"field": "type",
"type": "enum",
« no previous file with comments | « chrome/browser/search_engines/prepopulated_engines.json ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698