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

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

Issue 2834433002: MD Settings: ESLint --fix output, WIP. (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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-manage-a11y-page' is the subpage with the accessibility 7 * 'settings-manage-a11y-page' is the subpage with the accessibility
8 * settings. 8 * settings.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 10 matching lines...) Expand all
21 21
22 autoClickDelayOptions_: { 22 autoClickDelayOptions_: {
23 readOnly: true, 23 readOnly: true,
24 type: Array, 24 type: Array,
25 value: function() { 25 value: function() {
26 // These values correspond to the i18n values in settings_strings.grdp. 26 // These values correspond to the i18n values in settings_strings.grdp.
27 // If these values get changed then those strings need to be changed as 27 // If these values get changed then those strings need to be changed as
28 // well. 28 // well.
29 return [ 29 return [
30 {value: 600, 30 {value: 600,
31 name: loadTimeData.getString('delayBeforeClickExtremelyShort')}, 31 name: loadTimeData.getString('delayBeforeClickExtremelyShort')},
32 {value: 800, 32 {value: 800,
33 name: loadTimeData.getString('delayBeforeClickVeryShort')}, 33 name: loadTimeData.getString('delayBeforeClickVeryShort')},
34 {value: 1000, 34 {value: 1000,
35 name: loadTimeData.getString('delayBeforeClickShort')}, 35 name: loadTimeData.getString('delayBeforeClickShort')},
36 {value: 2000, 36 {value: 2000,
37 name: loadTimeData.getString('delayBeforeClickLong')}, 37 name: loadTimeData.getString('delayBeforeClickLong')},
38 {value: 4000, 38 {value: 4000,
39 name: loadTimeData.getString('delayBeforeClickVeryLong')}, 39 name: loadTimeData.getString('delayBeforeClickVeryLong')},
40 ]; 40 ];
41 }, 41 },
42 }, 42 },
43 43
44 /** 44 /**
45 * Whether to show experimental accessibility features. 45 * Whether to show experimental accessibility features.
46 * @private {boolean} 46 * @private {boolean}
47 */ 47 */
48 showExperimentalFeatures_: { 48 showExperimentalFeatures_: {
49 type: Boolean, 49 type: Boolean,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 settings.Route.POINTERS, 112 settings.Route.POINTERS,
113 /* dynamicParams */ null, /* removeSearch */ true); 113 /* dynamicParams */ null, /* removeSearch */ true);
114 }, 114 },
115 115
116 /** @private */ 116 /** @private */
117 onMoreFeaturesTap_: function() { 117 onMoreFeaturesTap_: function() {
118 window.open( 118 window.open(
119 'https://chrome.google.com/webstore/category/collection/accessibility'); 119 'https://chrome.google.com/webstore/category/collection/accessibility');
120 }, 120 },
121 }); 121 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698