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

Unified Diff: chrome/browser/resources/settings/a11y_page/a11y_page.js

Issue 2153963002: Autoclick on md-settings is synced with autoclick on settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 2 errors. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/a11y_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/a11y_page/a11y_page.js
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.js b/chrome/browser/resources/settings/a11y_page/a11y_page.js
index 0c56580f9e437e85cf4375adcfe220c8e6cedc67..2ee16f1d392c79385a03fd02d6ea2abf7aabdf36 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js
@@ -27,6 +27,25 @@ Polymer({
},
<if expr="chromeos">
+ autoClickDelayOptions_: {
+ readOnly: true,
+ type: Array,
+ value: function() {
+ return [
+ {value: 600,
+ name: loadTimeData.getString('delayBeforeClickExtremelyShort')},
+ {value: 800,
+ name: loadTimeData.getString('delayBeforeClickVeryShort')},
+ {value: 1000,
+ name: loadTimeData.getString('delayBeforeClickShort')},
+ {value: 2000,
+ name: loadTimeData.getString('delayBeforeClickLong')},
+ {value: 4000,
+ name: loadTimeData.getString('delayBeforeClickVeryLong')},
+ ];
+ },
+ },
+
/**
* Whether to show experimental accessibility features.
* @private {boolean}
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/a11y_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698