Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer_config.html"> | |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.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-icon/iron-icon.htm l"> |
|
dschuyler
2016/03/02 01:08:06
Should we include /polymer/ before /html/ or vice
michaelpg
2016/03/02 02:42:06
polymer_config.html needs to be included before po
| |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico ns.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico ns.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons. html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons. html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> |
| 8 <link rel="import" href="chrome://md-settings/controls/settings_dropdown_menu.ht ml"> | |
| 9 <link rel="import" href="chrome://md-settings/device_page/keyboard.html"> | |
| 7 <link rel="import" href="chrome://md-settings/device_page/touchpad.html"> | 10 <link rel="import" href="chrome://md-settings/device_page/touchpad.html"> |
| 11 <link rel="import" href="chrome://md-settings/i18n_setup.html"> | |
| 12 <link rel="import" href="chrome://md-settings/prefs/prefs.html"> | |
| 8 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> | 13 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> |
| 9 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml"> | 14 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml"> |
| 10 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 15 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 11 | 16 |
| 12 <dom-module id="settings-device-page"> | 17 <dom-module id="settings-device-page"> |
| 13 <template> | 18 <template> |
| 14 <style include="settings-shared"></style> | 19 <style include="settings-shared"></style> |
| 15 <settings-animated-pages id="pages" section="device" | 20 <settings-animated-pages id="pages" section="device" |
| 16 current-route="{{currentRoute}}"> | 21 current-route="{{currentRoute}}"> |
| 17 <neon-animatable id="main"> | 22 <neon-animatable id="main"> |
| 18 <div class="settings-box first" on-tap="onTouchpadTap_"> | 23 <div id="touchpadRow" class="settings-box first" |
| 19 <iron-icon icon="hardware:keyboard"></iron-icon> | 24 on-tap="onTouchpadTap_"> |
| 25 <iron-icon icon="image:brightness-1"></iron-icon> | |
|
dschuyler
2016/03/02 01:08:06
optional: I've learned that the brightness-1 icon
michaelpg
2016/03/02 02:42:06
Done.
| |
| 20 <div class="middle">[[i18n('touchpadTitle')]]</div> | 26 <div class="middle">[[i18n('touchpadTitle')]]</div> |
| 21 </div> | 27 </div> |
| 22 <div class="settings-box"> | 28 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_"> |
| 23 <iron-icon icon="image:brightness-1"></iron-icon> | 29 <iron-icon icon="hardware:keyboard"></iron-icon> |
| 24 <div class="middle">[[i18n('keyboardTitle')]]</div> | 30 <div class="middle">[[i18n('keyboardTitle')]]</div> |
| 25 </div> | 31 </div> |
| 26 </neon-animatable> | 32 </neon-animatable> |
| 27 <neon-animatable id="touchpad"> | 33 <neon-animatable id="touchpad"> |
| 28 <settings-subheader page-title="[[i18n('touchpadTitle')]]"> | 34 <settings-subheader page-title="[[i18n('touchpadTitle')]]"> |
| 29 </settings-subheader> | 35 </settings-subheader> |
| 30 <settings-touchpad prefs="{{prefs}}"></settings-touchpad> | 36 <settings-touchpad prefs="{{prefs}}"></settings-touchpad> |
| 31 </neon-animatable> | 37 </neon-animatable> |
| 38 <neon-animatable id="keyboard"> | |
| 39 <settings-subheader page-title="[[i18n('keyboardTitle')]]"> | |
| 40 </settings-subheader> | |
| 41 <settings-keyboard prefs="{{prefs}}"></settings-keyboard> | |
| 42 </neon-animatable> | |
| 32 </settings-animated-pages> | 43 </settings-animated-pages> |
| 33 </template> | 44 </template> |
| 34 <script src="device_page.js"></script> | 45 <script src="device_page.js"></script> |
| 35 </dom-module> | 46 </dom-module> |
| OLD | NEW |