| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_slider/cr_slider.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_slider/cr_slider.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/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> |
| 4 <link rel="import" href="../controls/settings_radio_group.html"> | 4 <link rel="import" href="../controls/settings_radio_group.html"> |
| 5 <link rel="import" href="../controls/settings_toggle_button.html"> | 5 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 6 <link rel="import" href="device_page_browser_proxy.html"> | 6 <link rel="import" href="device_page_browser_proxy.html"> |
| 7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
| 8 | 8 |
| 9 <dom-module id="settings-pointers"> | 9 <dom-module id="settings-pointers"> |
| 10 <template> | 10 <template> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 <!-- Subsection title only appears if both mouse and touchpad exist. --> | 29 <!-- Subsection title only appears if both mouse and touchpad exist. --> |
| 30 <h2 hidden$="[[!hasTouchpad]]">$i18n{mouseTitle}</h2> | 30 <h2 hidden$="[[!hasTouchpad]]">$i18n{mouseTitle}</h2> |
| 31 <div class="settings-box first"> | 31 <div class="settings-box first"> |
| 32 <settings-toggle-button class="start" | 32 <settings-toggle-button class="start" |
| 33 pref="{{prefs.settings.mouse.primary_right}}" | 33 pref="{{prefs.settings.mouse.primary_right}}" |
| 34 label="$i18n{mouseSwapButtons}"> | 34 label="$i18n{mouseSwapButtons}"> |
| 35 </settings-toggle-button> | 35 </settings-toggle-button> |
| 36 </div> | 36 </div> |
| 37 <div class="settings-box"> | 37 <div class="settings-box"> |
| 38 <div class="start" id="mouseSpeedLabel">$i18n{mouseSpeed}</div> | 38 <div class="start" id="mouseSpeedLabel">$i18n{mouseSpeed}</div> |
| 39 <cr-slider value="{{prefs.settings.mouse.sensitivity2.value}}" | 39 <cr-slider pref="{{prefs.settings.mouse.sensitivity2}}" |
| 40 tick-values="[[sensitivityValues_]]" | 40 tick-values="[[sensitivityValues_]]" |
| 41 aria-labelledby="mouseSpeedLabel" | 41 aria-labelledby="mouseSpeedLabel" |
| 42 label-min="$i18n{pointerSlow}" | 42 label-min="$i18n{pointerSlow}" |
| 43 label-max="$i18n{pointerFast}"> | 43 label-max="$i18n{pointerFast}"> |
| 44 </cr-slider> | 44 </cr-slider> |
| 45 </div> | 45 </div> |
| 46 </div> | 46 </div> |
| 47 <div id="touchpad" hidden$="[[!hasTouchpad]]" | 47 <div id="touchpad" hidden$="[[!hasTouchpad]]" |
| 48 class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]"> | 48 class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]"> |
| 49 <!-- Subsection title only appears if both mouse and touchpad exist. --> | 49 <!-- Subsection title only appears if both mouse and touchpad exist. --> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 on-keydown="onLearnMoreLinkActivated_"> | 81 on-keydown="onLearnMoreLinkActivated_"> |
| 82 $i18n{naturalScrollLearnMore} | 82 $i18n{naturalScrollLearnMore} |
| 83 </a> | 83 </a> |
| 84 </paper-radio-button> | 84 </paper-radio-button> |
| 85 </settings-radio-group> | 85 </settings-radio-group> |
| 86 </div> | 86 </div> |
| 87 </div> | 87 </div> |
| 88 </template> | 88 </template> |
| 89 <script src="pointers.js"></script> | 89 <script src="pointers.js"></script> |
| 90 </dom-module> | 90 </dom-module> |
| OLD | NEW |