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

Side by Side Diff: chrome/browser/search_engines/prepopulated_engines_schema.json

Issue 11576044: Remove call to IsInstantExtendedAPIGoogleSearchUrl from ToolbarModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed browser tests Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is used by json_to_struct.py to generate prepopulated_engine.h/cc. 5 // This file is used by json_to_struct.py to generate prepopulated_engine.h/cc.
6 // Any time you modify this file regenerate the .h/.cc. See 6 // Any time you modify this file regenerate the .h/.cc. See
7 // prepopulated_engines.json for details. 7 // prepopulated_engines.json for details.
8 8
9 { 9 {
10 "type_name": "PrepopulatedEngine", 10 "type_name": "PrepopulatedEngine",
(...skipping 18 matching lines...) Expand all
29 // A list of URL patterns that can be used, in addition to |search_url|, 29 // A list of URL patterns that can be used, in addition to |search_url|,
30 // to extract search terms from a URL. 30 // to extract search terms from a URL.
31 { 31 {
32 "field": "alternate_urls", 32 "field": "alternate_urls",
33 "type": "array", 33 "type": "array",
34 "contents": { "type": "string" }, 34 "contents": { "type": "string" },
35 "optional": true 35 "optional": true
36 }, 36 },
37 // A parameter that, if present in the query or ref parameters of a 37 // A parameter that, if present in the query or ref parameters of a
38 // search_url or instant_url, causes Chrome to replace the URL with the 38 // search_url or instant_url, causes Chrome to replace the URL with the
39 // search term. 39 // search term. This can be {google:instantExtendedEnabledKey}.
40 { 40 {
41 "field": "search_terms_replacement_key", 41 "field": "search_terms_replacement_key",
42 "type": "string", 42 "type": "string",
43 "optional": true 43 "optional": true
44 }, 44 },
45 { 45 {
46 "field": "type", 46 "field": "type",
47 "type": "enum", 47 "type": "enum",
48 "ctype": "SearchEngineType", 48 "ctype": "SearchEngineType",
49 "default": "SEARCH_ENGINE_OTHER", 49 "default": "SEARCH_ENGINE_OTHER",
(...skipping 12 matching lines...) Expand all
62 // the future; in such a case the localized engines will transparently 62 // the future; in such a case the localized engines will transparently
63 // replace the previous, non-localized versions. For engines where we need 63 // replace the previous, non-localized versions. For engines where we need
64 // two instances to appear for one country (e.g. Bing Search U.S. English 64 // two instances to appear for one country (e.g. Bing Search U.S. English
65 // and Spanish), we must use two different unique IDs (and different 65 // and Spanish), we must use two different unique IDs (and different
66 // keywords). 66 // keywords).
67 // 67 //
68 // See prepopulated_engines.json for the list of available IDs. 68 // See prepopulated_engines.json for the list of available IDs.
69 { "field": "id", "type": "int" } 69 { "field": "id", "type": "int" }
70 ] 70 ]
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698