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

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

Issue 939713003: Enabled the "search web for image" context menu item when "Yandex" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The last arg of ExpectPostParamIs got a default value; the version number increased. Created 5 years, 10 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
« no previous file with comments | « no previous file | components/search_engines/template_url.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
23 // They need to know the mapping between an engine's "id" and its URLs. 23 // They need to know the mapping between an engine's "id" and its URLs.
24 24
25 { 25 {
26 "int_variables": { 26 "int_variables": {
27 // The following id is for UMA stats only. Please update it if you add new 27 // The following id is for UMA stats only. Please update it if you add new
28 // engines outside the current range or it will not be counted in stats. 28 // engines outside the current range or it will not be counted in stats.
29 "kMaxPrepopulatedEngineID": 90, 29 "kMaxPrepopulatedEngineID": 90,
30 30
31 // Increment this if you change the data in ways that mean users with 31 // Increment this if you change the data in ways that mean users with
32 // existing data should get a new version. 32 // existing data should get a new version.
33 "kCurrentDataVersion": 81 33 "kCurrentDataVersion": 82
34 }, 34 },
35 35
36 // The following engines are included in country lists and are added to the 36 // The following engines are included in country lists and are added to the
37 // list of search engines on the first run depending on user's country. 37 // list of search engines on the first run depending on user's country.
38 "elements": { 38 "elements": {
39 "aol": { 39 "aol": {
40 "name": "AOL", 40 "name": "AOL",
41 "keyword": "aol.com", 41 "keyword": "aol.com",
42 "favicon_url": "http://search.aol.com/favicon.ico", 42 "favicon_url": "http://search.aol.com/favicon.ico",
43 "search_url": "http://search.aol.com/aol/search?q={searchTerms}", 43 "search_url": "http://search.aol.com/aol/search?q={searchTerms}",
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 "type": "SEARCH_ENGINE_YAHOO", 580 "type": "SEARCH_ENGINE_YAHOO",
581 "id": 2 581 "id": 2
582 }, 582 },
583 583
584 "yandex_ru": { 584 "yandex_ru": {
585 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 585 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
586 "keyword": "yandex.ru", 586 "keyword": "yandex.ru",
587 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", 587 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico",
588 "search_url": "http://yandex.ru/yandsearch?text={searchTerms}", 588 "search_url": "http://yandex.ru/yandsearch?text={searchTerms}",
589 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms }", 589 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms }",
590 "image_url": "http://yandex.ru/images/search/?rpt=imageview",
591 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
590 "type": "SEARCH_ENGINE_YANDEX", 592 "type": "SEARCH_ENGINE_YANDEX",
591 "id": 15 593 "id": 15
592 }, 594 },
593 595
594 "yandex_tr": { 596 "yandex_tr": {
595 "name": "Yandex", 597 "name": "Yandex",
596 "keyword": "yandex.com.tr", 598 "keyword": "yandex.com.tr",
597 "favicon_url": "http://yastatic.net/islands-icons/_/6jyHGXR8-HAc8oJ1bU8qMU QQz_g.ico", 599 "favicon_url": "http://yastatic.net/islands-icons/_/6jyHGXR8-HAc8oJ1bU8qMU QQz_g.ico",
598 "search_url": "http://www.yandex.com.tr/yandsearch?text={searchTerms}", 600 "search_url": "http://www.yandex.com.tr/yandsearch?text={searchTerms}",
599 "suggest_url": "http://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTe rms}", 601 "suggest_url": "http://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTe rms}",
602 "image_url": "http://yandex.com.tr/gorsel/search?rpt=imageview",
603 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
600 "type": "SEARCH_ENGINE_YANDEX", 604 "type": "SEARCH_ENGINE_YANDEX",
601 "id": 15 605 "id": 15
602 }, 606 },
603 607
604 "yandex_ua": { 608 "yandex_ua": {
605 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 609 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
606 "keyword": "yandex.ua", 610 "keyword": "yandex.ua",
607 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q e641g.ico", 611 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q e641g.ico",
608 "search_url": "http://yandex.ua/yandsearch?text={searchTerms}", 612 "search_url": "http://yandex.ua/yandsearch?text={searchTerms}",
609 "suggest_url": "http://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms} ", 613 "suggest_url": "http://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms} ",
614 "image_url": "http://yandex.ua/images/search/?rpt=imageview",
615 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
610 "type": "SEARCH_ENGINE_YANDEX", 616 "type": "SEARCH_ENGINE_YANDEX",
611 "id": 15 617 "id": 15
612 }, 618 },
613 619
614 620
615 // UMA-only engines //////////////////////////////////////////////////////// 621 // UMA-only engines ////////////////////////////////////////////////////////
616 622
617 // The following engines are not included in any of the country lists. They 623 // The following engines are not included in any of the country lists. They
618 // are listed in |kAllEngines|, however, so that GetEngineType can find them 624 // are listed in |kAllEngines|, however, so that GetEngineType can find them
619 // for UMA reporting purposes. 625 // for UMA reporting purposes.
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 "name": "Zoznam", 973 "name": "Zoznam",
968 "keyword": "zoznam.sk", 974 "keyword": "zoznam.sk",
969 "favicon_url": "http://www.zoznam.sk/favicon.ico", 975 "favicon_url": "http://www.zoznam.sk/favicon.ico",
970 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", 976 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}",
971 "encoding": "windows-1250", 977 "encoding": "windows-1250",
972 "type": "SEARCH_ENGINE_ZOZNAM", 978 "type": "SEARCH_ENGINE_ZOZNAM",
973 "id": 85 979 "id": 85
974 } 980 }
975 } 981 }
976 } 982 }
OLDNEW
« no previous file with comments | « no previous file | components/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698