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

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

Issue 1019403002: Fetch and actually set prefs (using chrome.send for now). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros-only Created 5 years, 9 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.html
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.html b/chrome/browser/resources/settings/a11y_page/a11y_page.html
index 6dfe572aac1a95a4684559052fb1ebd86ce57c7c..6a54c44614744b311a56a259043cbbb1c1ef56e9 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html
@@ -14,22 +14,22 @@
<paper-shadow layout vertical cross-fade>
<cr-settings-page-header page="{{}}"></cr-settings-page-header>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.enableMenu}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.enableMenu.value}}" for>
</cr-checkbox>
<span>Show accessibility options in the system menu</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.largeCursorEnabled}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.largeCursorEnabled.value}}" for>
</cr-checkbox>
<span>Show large mouse cursor</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.highContrastEnabled}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.highContrastEnabled.value}}" for>
</cr-checkbox>
<span>Use high contrast mode</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.stickyKeysEnabled}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.stickyKeysEnabled.value}}" for>
</cr-checkbox>
<span>Enable sticky keys</span>
<span class="sub-label">
@@ -37,7 +37,7 @@
</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.accessibility}}" for>
+ <cr-checkbox checked="{{prefs.settings.accessibility.value}}" for>
</cr-checkbox>
<span>Enable ChromeVox</span>
<span class="sub-label">
@@ -45,26 +45,26 @@
</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.screenMagnifier}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.screenMagnifier.value}}" for>
</cr-checkbox>
<span>Enable screen magnifier</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.touchpad.enableTapDragging}}" for>
+ <cr-checkbox checked="{{prefs.settings.touchpad.enableTapDragging.value}}" for>
</cr-checkbox>
<span>Enable tap dragging</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.autoclick}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.autoclick.value}}" for>
</cr-checkbox>
<span>Automatically click when the mouse pointer stops</span>
</core-label>
<core-label horizontal layout center class="autoclick-delay-label"
- hidden?="{{!prefs.settings.a11y.autoclick}}">
+ hidden?="{{!prefs.settings.a11y.autoclick.value}}">
<span>Delay before click:</span>
<cr-dropdown-menu class="autoclick-dropdown">
<core-menu class="menu" valueAttr="value" selectedAttribute=""
- selected="{{prefs.settings.a11y.autoclickDelayMs}}">
+ selected="{{prefs.settings.a11y.autoclickDelayMs.value}}">
<paper-item value="200">extremely short</paper-item>
<paper-item value="400">very short</paper-item>
<paper-item value="600">short</paper-item>
@@ -74,7 +74,7 @@
</cr-dropdown-menu>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.virtualKeyboard}}" for>
+ <cr-checkbox checked="{{prefs.settings.a11y.virtualKeyboard.value}}" for>
</cr-checkbox>
<span>Enable on-screen keyboard</span>
</core-label>

Powered by Google App Engine
This is Rietveld 408576698