| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 4 <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"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 6 <link rel="import" href="/controls/settings_dropdown_menu.html"> | 7 <link rel="import" href="/controls/settings_dropdown_menu.html"> |
| 7 <link rel="import" href="/device_page/device_page_browser_proxy.html"> | 8 <link rel="import" href="/device_page/device_page_browser_proxy.html"> |
| 8 <link rel="import" href="/device_page/display.html"> | 9 <link rel="import" href="/device_page/display.html"> |
| 9 <link rel="import" href="/device_page/keyboard.html"> | 10 <link rel="import" href="/device_page/keyboard.html"> |
| 10 <link rel="import" href="/device_page/stylus.html"> | 11 <link rel="import" href="/device_page/stylus.html"> |
| 11 <link rel="import" href="/device_page/pointers.html"> | 12 <link rel="import" href="/device_page/pointers.html"> |
| 12 <link rel="import" href="/icons.html"> | 13 <link rel="import" href="/icons.html"> |
| 13 <link rel="import" href="/prefs/prefs.html"> | 14 <link rel="import" href="/prefs/prefs.html"> |
| 14 <link rel="import" href="/route.html"> | 15 <link rel="import" href="/route.html"> |
| 15 <link rel="import" href="/settings_page/settings_animated_pages.html"> | 16 <link rel="import" href="/settings_page/settings_animated_pages.html"> |
| 16 <link rel="import" href="/settings_page/settings_subpage.html"> | 17 <link rel="import" href="/settings_page/settings_subpage.html"> |
| 17 <link rel="import" href="/settings_shared_css.html"> | 18 <link rel="import" href="/settings_shared_css.html"> |
| 18 | 19 |
| 19 <dom-module id="settings-device-page"> | 20 <dom-module id="settings-device-page"> |
| 20 <template> | 21 <template> |
| 21 <style include="settings-shared"></style> | 22 <style include="settings-shared"></style> |
| 22 <settings-animated-pages id="pages" section="device"> | 23 <settings-animated-pages id="pages" section="device"> |
| 23 <neon-animatable id="main" route-path="default"> | 24 <neon-animatable id="main" route-path="default"> |
| 24 <div id="pointersRow" class="settings-box first" | 25 <div id="pointersRow" class="settings-box first" |
| 25 on-tap="onPointersTap_" actionable> | 26 on-tap="onPointersTap_" actionable> |
| 26 <iron-icon icon="[[getPointersIcon_(hasMouse_, hasTouchpad_)]]"> | 27 <iron-icon icon="[[getPointersIcon_(hasMouse_, hasTouchpad_)]]"> |
| 27 </iron-icon> | 28 </iron-icon> |
| 28 <div class="middle"> | 29 <div class="middle"> |
| 29 [[getPointersTitle_(hasMouse_, hasTouchpad_)]] | 30 [[getPointersTitle_(hasMouse_, hasTouchpad_)]] |
| 30 </div> | 31 </div> |
| 32 <button class="icon-arrow-right" is="paper-icon-button-light"> |
| 33 </button> |
| 31 </div> | 34 </div> |
| 32 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_" | 35 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_" |
| 33 actionable> | 36 actionable> |
| 34 <iron-icon icon="settings:keyboard"></iron-icon> | 37 <iron-icon icon="settings:keyboard"></iron-icon> |
| 35 <div class="middle">$i18n{keyboardTitle}</div> | 38 <div class="middle">$i18n{keyboardTitle}</div> |
| 39 <button class="icon-arrow-right" is="paper-icon-button-light"> |
| 40 </button> |
| 36 </div> | 41 </div> |
| 37 <template is="dom-if" if=[[stylusAllowed_]]> | 42 <template is="dom-if" if=[[stylusAllowed_]]> |
| 38 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_" | 43 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_" |
| 39 actionable> | 44 actionable> |
| 40 <iron-icon icon="settings:note"></iron-icon> | 45 <iron-icon icon="settings:note"></iron-icon> |
| 41 <div class="middle">$i18n{stylusTitle}</div> | 46 <div class="middle">$i18n{stylusTitle}</div> |
| 47 <button class="icon-arrow-right" is="paper-icon-button-light"> |
| 48 </button> |
| 42 </div> | 49 </div> |
| 43 </template> | 50 </template> |
| 44 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_" | 51 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_" |
| 45 actionable> | 52 actionable> |
| 46 <iron-icon icon="settings:desktop-windows"></iron-icon> | 53 <iron-icon icon="settings:desktop-windows"></iron-icon> |
| 47 <div class="middle">$i18n{displayTitle}</div> | 54 <div class="middle">$i18n{displayTitle}</div> |
| 55 <button class="icon-arrow-right" is="paper-icon-button-light"> |
| 56 </button> |
| 48 </div> | 57 </div> |
| 49 </neon-animatable> | 58 </neon-animatable> |
| 50 <template is="dom-if" route-path="/pointer-overlay"> | 59 <template is="dom-if" route-path="/pointer-overlay"> |
| 51 <settings-subpage | 60 <settings-subpage |
| 52 associated-control="[[$$('#pointersRow')]]" | 61 associated-control="[[$$('#pointersRow')]]" |
| 53 page-title="[[getPointersTitle_(hasMouse_, hasTouchpad_)]]"> | 62 page-title="[[getPointersTitle_(hasMouse_, hasTouchpad_)]]"> |
| 54 <settings-pointers prefs="{{prefs}}" | 63 <settings-pointers prefs="{{prefs}}" |
| 55 has-mouse="[[hasMouse_]]" has-touchpad="[[hasTouchpad_]]"> | 64 has-mouse="[[hasMouse_]]" has-touchpad="[[hasTouchpad_]]"> |
| 56 </settings-pointers> | 65 </settings-pointers> |
| 57 </settings-subpage> | 66 </settings-subpage> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 76 <settings-subpage | 85 <settings-subpage |
| 77 associated-control="[[$$('#displayRow')]]" | 86 associated-control="[[$$('#displayRow')]]" |
| 78 page-title="$i18n{displayTitle}"> | 87 page-title="$i18n{displayTitle}"> |
| 79 <settings-display></settings-display> | 88 <settings-display></settings-display> |
| 80 </settings-subpage> | 89 </settings-subpage> |
| 81 </template> | 90 </template> |
| 82 </settings-animated-pages> | 91 </settings-animated-pages> |
| 83 </template> | 92 </template> |
| 84 <script src="device_page.js"></script> | 93 <script src="device_page.js"></script> |
| 85 </dom-module> | 94 </dom-module> |
| OLD | NEW |