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

Side by Side Diff: chrome/browser/resources/settings/device_page/pointers.html

Issue 2844723003: MD Settings: Device settings polish (Closed)
Patch Set: Created 3 years, 7 months 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
« no previous file with comments | « chrome/browser/resources/settings/device_page/display.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html">
3 <link rel="import" href="../controls/settings_radio_group.html"> 3 <link rel="import" href="../controls/settings_radio_group.html">
4 <link rel="import" href="../controls/settings_slider.html"> 4 <link rel="import" href="../controls/settings_slider.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 label-min="$i18n{pointerSlow}" 46 label-min="$i18n{pointerSlow}"
47 label-max="$i18n{pointerFast}"> 47 label-max="$i18n{pointerFast}">
48 </settings-slider> 48 </settings-slider>
49 </div> 49 </div>
50 </div> 50 </div>
51 </div> 51 </div>
52 <div id="touchpad" hidden$="[[!hasTouchpad]]"> 52 <div id="touchpad" hidden$="[[!hasTouchpad]]">
53 <!-- Subsection title only appears if both mouse and touchpad exist. --> 53 <!-- Subsection title only appears if both mouse and touchpad exist. -->
54 <h2 hidden$="[[!hasMouse]]">$i18n{touchpadTitle}</h2> 54 <h2 hidden$="[[!hasMouse]]">$i18n{touchpadTitle}</h2>
55 <div class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]"> 55 <div class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]">
56 <div class="settings-box block first"> 56 <div class="settings-box first">
57 <settings-toggle-button id="enableTapToClick" 57 <settings-toggle-button id="enableTapToClick" class="start"
58 pref="{{prefs.settings.touchpad.enable_tap_to_click}}" 58 pref="{{prefs.settings.touchpad.enable_tap_to_click}}"
59 label="$i18n{touchpadTapToClickEnabledLabel}"> 59 label="$i18n{touchpadTapToClickEnabledLabel}">
60 </settings-toggle-button> 60 </settings-toggle-button>
61 <settings-toggle-button id="enableTapDragging" 61 </div>
62 <div class="settings-box">
63 <settings-toggle-button id="enableTapDragging" class="start"
62 pref="{{prefs.settings.touchpad.enable_tap_dragging}}" 64 pref="{{prefs.settings.touchpad.enable_tap_dragging}}"
63 label="$i18n{tapDraggingLabel}"> 65 label="$i18n{tapDraggingLabel}">
64 </settings-toggle-button> 66 </settings-toggle-button>
65 </div> 67 </div>
66 <div class="settings-box"> 68 <div class="settings-box">
67 <div class="start" id="touchpadSpeedLabel">$i18n{touchpadSpeed}</div> 69 <div class="start" id="touchpadSpeedLabel">$i18n{touchpadSpeed}</div>
68 <settings-slider id="touchpadSensitivity" 70 <settings-slider id="touchpadSensitivity"
69 pref="{{prefs.settings.touchpad.sensitivity2}}" 71 pref="{{prefs.settings.touchpad.sensitivity2}}"
70 tick-values="[[sensitivityValues_]]" 72 tick-values="[[sensitivityValues_]]"
71 aria-labelledby="touchpadSpeedLabel" 73 aria-labelledby="touchpadSpeedLabel"
(...skipping 16 matching lines...) Expand all
88 $i18n{naturalScrollLearnMore} 90 $i18n{naturalScrollLearnMore}
89 </a> 91 </a>
90 </paper-radio-button> 92 </paper-radio-button>
91 </settings-radio-group> 93 </settings-radio-group>
92 </div> 94 </div>
93 </div> 95 </div>
94 </div> 96 </div>
95 </template> 97 </template>
96 <script src="pointers.js"></script> 98 <script src="pointers.js"></script>
97 </dom-module> 99 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/device_page/display.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698