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

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

Issue 1132223005: Fix the pref binding by binding to the object rather than the element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixes
Patch Set: ::change Created 5 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 side-by-side diff with in-line comments
Download patch
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 aa9f6b4ec0b5d59f1ca7842d52f1c66b580d3f2e..119f1c75a8eaff70e9f07325c2e7467d53b4823a 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js
@@ -23,9 +23,6 @@ Polymer({
properties: {
/**
* Preferences state.
- *
- * @type {?CrSettingsPrefsElement}
- * @default null
*/
prefs: {
type: Object,
@@ -72,14 +69,4 @@ Polymer({
readOnly: true,
},
},
-
- /**
- * Called when the selected value of the autoclick dropdown changes.
- * TODO(jlklein): Replace with binding when paper-dropdown lands.
- * @private
- */
- autoclickSelectChanged_: function() {
- this.prefs.settings.settings.a11y.autoclick_delay_ms =
- this.$.autoclickDropdown.value;
- },
});
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/a11y_page.html ('k') | chrome/browser/resources/settings/checkbox/checkbox.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698