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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.html

Issue 2512393002: ChromeOS OOBE: switch from iron-dropdown to <select>. (Closed)
Patch Set: Created 4 years, 1 month 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 <link rel="import" href="chrome://resources/html/md_select_css.html">
1 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dropdown-menu/pap er-dropdown-menu.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-listbox/paper-lis tbox.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
9
10 <iron-iconset-svg name="oobe-i18n-dropdown" size="24">
11 <svg>
12 <defs>
13 <!--
14 These icons are copied from Polymer's iron-icons and kept in sorted order.
15 See http://goo.gl/Y1OdAq for instructions on adding additional icons.
16 -->
17 <g id="check">
18 <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z">
19 </path>
20 </g>
21 </defs>
22 </svg>
23 </iron-iconset-svg>
24 4
25 <dom-module id="oobe-i18n-dropdown"> 5 <dom-module id="oobe-i18n-dropdown">
26 <template> 6 <template>
27 <link rel="stylesheet" href="oobe_i18n_dropdown.css"> 7 <link rel="stylesheet" href="oobe_i18n_dropdown.css">
28 <paper-dropdown-menu no-label-float> 8 <style include="md-select"></style>
29 <paper-listbox id="listboxDropdown" class="dropdown-content" 9 <div id="container"
30 on-iron-select="onSelect_" 10 class="flex vertical layout center center-justified md-select-wrapper">
31 on-iron-deselect="onDeselect_"> 11 <select id="select" class="md-select" ></select>
32 <template is="dom-repeat" id="domRepeat" items="[[items]]"> 12 <span class="md-select-underline"></span>
33 <paper-item item="[[item]]" disabled="[[item.optionGroupName]]" 13 </div>
34 hr$="[[item.optionGroupName]]">
35 <div class="option-entry flex horizontal layout justified"
36 hidden="[[item.optionGroupName]]">
37 <div class="option-name">
38 [[item.title]]
39 </div>
40 <iron-icon icon="oobe-i18n-dropdown:check" class="selected-icon"
41 hidden="[[!item.selected]]">
42 </iron-icon>
43 </div>
44 <div class="hr" hidden="[[!item.optionGroupName]]"></div>
45 </paper-item>
46 </template>
47 </paper-listbox>
48 </paper-dropdown-menu>
49 </template> 14 </template>
50 </dom-module> 15 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698