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

Side by Side Diff: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html

Issue 2783163002: Hide slider if large cursor is disabled (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | 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-icon-button/paper -icon-button-light.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
3 <link rel="import" href="../controls/settings_slider.html"> 3 <link rel="import" href="../controls/settings_slider.html">
4 <link rel="import" href="../controls/settings_toggle_button.html"> 4 <link rel="import" href="../controls/settings_toggle_button.html">
5 <link rel="import" href="../i18n_setup.html"> 5 <link rel="import" href="../i18n_setup.html">
6 <link rel="import" href="../route.html"> 6 <link rel="import" href="../route.html">
7 <link rel="import" href="../settings_shared_css.html"> 7 <link rel="import" href="../settings_shared_css.html">
8 <link rel="import" href="../settings_vars_css.html"> 8 <link rel="import" href="../settings_vars_css.html">
9 9
10 <dom-module id="settings-manage-a11y-page"> 10 <dom-module id="settings-manage-a11y-page">
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 </div> 146 </div>
147 <settings-toggle-button 147 <settings-toggle-button
148 pref="{{prefs.settings.touchpad.enable_tap_dragging}}" 148 pref="{{prefs.settings.touchpad.enable_tap_dragging}}"
149 label="$i18n{tapDraggingLabel}"> 149 label="$i18n{tapDraggingLabel}">
150 </settings-toggle-button> 150 </settings-toggle-button>
151 <settings-toggle-button 151 <settings-toggle-button
152 pref="{{prefs.settings.a11y.large_cursor_enabled}}" 152 pref="{{prefs.settings.a11y.large_cursor_enabled}}"
153 label="$i18n{largeMouseCursorLabel}"> 153 label="$i18n{largeMouseCursorLabel}">
154 </settings-toggle-button> 154 </settings-toggle-button>
155 <template is="dom-if" if="[[enableAdjustableLargeCursor_]]"> 155 <template is="dom-if" if="[[enableAdjustableLargeCursor_]]">
156 <div class="list-item sub-item"> 156 <div class="list-item sub-item"
157 hidden$="[[!prefs.settings.a11y.large_cursor_enabled.value]]">
157 <div class="start">$i18n{largeMouseCursorSizeLabel}</div> 158 <div class="start">$i18n{largeMouseCursorSizeLabel}</div>
158 <settings-slider 159 <settings-slider
159 disabled$="[[!prefs.settings.a11y.large_cursor_enabled.value]]"
160 pref="{{prefs.settings.a11y.large_cursor_dip_size}}" 160 pref="{{prefs.settings.a11y.large_cursor_dip_size}}"
161 min="25" max="64" label-min="$i18n{largeMouseCursorSizeSmallLabel}" 161 min="25" max="64" label-min="$i18n{largeMouseCursorSizeSmallLabel}"
162 label-max="$i18n{largeMouseCursorSizeLargeLabel}"> 162 label-max="$i18n{largeMouseCursorSizeLargeLabel}">
163 </settings-slider> 163 </settings-slider>
164 </div> 164 </div>
165 </template> 165 </template>
166 <settings-toggle-button 166 <settings-toggle-button
167 pref="{{prefs.settings.a11y.cursor_highlight}}" 167 pref="{{prefs.settings.a11y.cursor_highlight}}"
168 label="$i18n{cursorHighlightLabel}"> 168 label="$i18n{cursorHighlightLabel}">
169 </settings-toggle-button> 169 </settings-toggle-button>
(...skipping 25 matching lines...) Expand all
195 $i18n{a11yWebStore} 195 $i18n{a11yWebStore}
196 </div> 196 </div>
197 </div> 197 </div>
198 <button class="icon-external" is="paper-icon-button-light" 198 <button class="icon-external" is="paper-icon-button-light"
199 aria-label="$i18n{additionalFeaturesTitle}" 199 aria-label="$i18n{additionalFeaturesTitle}"
200 aria-describedby="moreFeaturesSecondary"></button> 200 aria-describedby="moreFeaturesSecondary"></button>
201 </div> 201 </div>
202 </template> 202 </template>
203 <script src="manage_a11y_page.js"></script> 203 <script src="manage_a11y_page.js"></script>
204 </dom-module> 204 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698