Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html"> | |
| 3 <link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html"> | |
| 4 <link rel="import" href="chrome://resources/polymer/paper-shadow/paper-shadow.ht ml"> | |
| 5 <link rel="import" href="chrome://resources/cr_elements/cr_dropdown_menu/cr_drop down_menu.html"> | |
| 6 <link rel="import" href="chrome://md-settings/settings_page/settings_page_header .html"> | |
|
Jeremy Klein
2015/04/22 17:37:46
Not needed.
Oren Blasberg
2015/04/22 18:25:41
Done.
| |
| 7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> | |
| 8 <link rel="import" href="search_page_style.html"> | |
|
Jeremy Klein
2015/04/22 17:37:46
Don't we also need core-style?
Oren Blasberg
2015/04/22 18:25:41
search_page_style.html pulls that in.
Jeremy Klein
2015/04/22 18:51:14
This should too. It directly has a core-style elem
| |
| 9 | |
| 10 <polymer-element name="cr-settings-search-page"> | |
| 11 <template> | |
| 12 <link rel="stylesheet" href="chrome://md-settings/settings_page/settings_pag e.css"> | |
| 13 <core-style ref="searchPageStyle"></core-style> | |
| 14 <paper-shadow layout vertical cross-fade> | |
| 15 <span i18n-content="searchExplanation"></span> | |
|
Jeremy Klein
2015/04/22 17:37:46
nit: I'm not sure a span is really the right choic
Oren Blasberg
2015/04/22 18:25:41
Done.
| |
| 16 | |
| 17 <div class="search-engines" layout horizontal center> | |
| 18 <cr-dropdown-menu class="search-engines-dropdown"> | |
| 19 <core-menu id="searchEnginesMenu" class="menu" valueAttr="value" | |
| 20 selectedAttribute="" | |
| 21 selected="{{defaultEngineGuid}}"> | |
| 22 <template repeat="{{engine in searchEngines}}"> | |
| 23 <paper-item value="{{engine.guid}}">{{engine.name}}</paper-item> | |
|
Jeremy Klein
2015/04/22 17:37:45
Let's switch "value" to "guid" to be more specific
Oren Blasberg
2015/04/22 18:25:41
Done.
| |
| 24 </template> | |
| 25 </core-menu> | |
| 26 </cr-dropdown-menu> | |
| 27 | |
| 28 <cr-button class="manage-search-engines" | |
| 29 i18n-content="searchManageButtonLabel" raised> | |
| 30 </cr-button> | |
| 31 </div> | |
| 32 </paper-shadow> | |
| 33 </template> | |
| 34 <script src="search_page.js"></script> | |
| 35 </polymer-element> | |
| OLD | NEW |