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

Side by Side Diff: components/search_engines/prepopulated_engines.json

Issue 308053009: Add contextual search to the template url system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: *sigh* another rebase! Created 6 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 during build to generate prepopulated_engine.h/cc. 5 // This file is used during build to generate prepopulated_engine.h/cc.
6 // For more details see tools/json_to_struct/json_to_struct.py. 6 // For more details see tools/json_to_struct/json_to_struct.py.
7 7
8 // Engine definitions. See prepopulated_engines_schema.json for the field 8 // Engine definitions. See prepopulated_engines_schema.json for the field
9 // definitions. 9 // definitions.
10 10
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 "search_url": "http://search.daum.net/search?ie={inputEncoding}&q={searchT erms}", 518 "search_url": "http://search.daum.net/search?ie={inputEncoding}&q={searchT erms}",
519 "suggest_url": "http://sug.search.daum.net/search_nsuggest?mod=fxjson&ie={ inputEncoding}&code=utf_in_out&q={searchTerms}", 519 "suggest_url": "http://sug.search.daum.net/search_nsuggest?mod=fxjson&ie={ inputEncoding}&code=utf_in_out&q={searchTerms}",
520 "type": "SEARCH_ENGINE_DAUM", 520 "type": "SEARCH_ENGINE_DAUM",
521 "id": 68 521 "id": 68
522 }, 522 },
523 523
524 "google": { 524 "google": {
525 "name": "Google", 525 "name": "Google",
526 "keyword": "google.com", 526 "keyword": "google.com",
527 "favicon_url": "http://www.google.com/favicon.ico", 527 "favicon_url": "http://www.google.com/favicon.ico",
528 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google: originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa rameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google: instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}ie={inputEnc oding}", 528 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google: originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa rameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google: instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:cont extualSearchVersion}ie={inputEncoding}",
529 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara meter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTe rms}&{google:inputType}{google:cursorPosition}{google:currentPageUrl}{google:pag eClassification}{google:searchVersion}{google:sessionToken}sugkey={google:sugges tAPIKeyParameter}", 529 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara meter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTe rms}&{google:inputType}{google:cursorPosition}{google:currentPageUrl}{google:pag eClassification}{google:searchVersion}{google:sessionToken}sugkey={google:sugges tAPIKeyParameter}",
530 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ} {google:forceInstantResults}{google:instantExtendedEnabledParameter}{google:ntpI sThemedParameter}{google:omniboxStartMarginParameter}ie={inputEncoding}", 530 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ} {google:forceInstantResults}{google:instantExtendedEnabledParameter}{google:ntpI sThemedParameter}{google:omniboxStartMarginParameter}ie={inputEncoding}",
531 "image_url": "{google:baseURL}searchbyimage/upload", 531 "image_url": "{google:baseURL}searchbyimage/upload",
532 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan tExtendedEnabledParameter}{google:ntpIsThemedParameter}ie={inputEncoding}", 532 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan tExtendedEnabledParameter}{google:ntpIsThemedParameter}ie={inputEncoding}",
533 "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:conte xtualSearchVersion}{google:contextualSearchContextData}",
533 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url= {google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image OriginalWidth},original_height={google:imageOriginalHeight}", 534 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url= {google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image OriginalWidth},original_height={google:imageOriginalHeight}",
534 "alternate_urls": [ 535 "alternate_urls": [
535 "{google:baseURL}#q={searchTerms}", 536 "{google:baseURL}#q={searchTerms}",
536 "{google:baseURL}search#q={searchTerms}", 537 "{google:baseURL}search#q={searchTerms}",
537 "{google:baseURL}webhp#q={searchTerms}" 538 "{google:baseURL}webhp#q={searchTerms}"
538 ], 539 ],
539 "search_terms_replacement_key": "{google:instantExtendedEnabledKey}", 540 "search_terms_replacement_key": "{google:instantExtendedEnabledKey}",
540 "type": "SEARCH_ENGINE_GOOGLE", 541 "type": "SEARCH_ENGINE_GOOGLE",
541 "id": 1 542 "id": 1
542 }, 543 },
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 "name": "Zoznam", 1381 "name": "Zoznam",
1381 "keyword": "zoznam.sk", 1382 "keyword": "zoznam.sk",
1382 "favicon_url": "http://www.zoznam.sk/favicon.ico", 1383 "favicon_url": "http://www.zoznam.sk/favicon.ico",
1383 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", 1384 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}",
1384 "encoding": "windows-1250", 1385 "encoding": "windows-1250",
1385 "type": "SEARCH_ENGINE_ZOZNAM", 1386 "type": "SEARCH_ENGINE_ZOZNAM",
1386 "id": 85 1387 "id": 85
1387 } 1388 }
1388 } 1389 }
1389 } 1390 }
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_unittest.cc ('k') | components/search_engines/prepopulated_engines_schema.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698