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

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: dan comments 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..4dc1275adf5b054dfec2b4d10b7495dc48b5be3c 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html
@@ -14,22 +14,25 @@
<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.enable_menu.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.large_cursor_enabled.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.high_contrast_enabled.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.sticky_keys_enabled.value}}" for>
</cr-checkbox>
<span>Enable sticky keys</span>
<span class="sub-label">
@@ -37,7 +40,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 +48,27 @@
</span>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.screenMagnifier}}" for>
- </cr-checkbox>
+ <cr-checkbox checked="{{prefs.settings.a11y.screen_magnifier.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.enable_tap_dragging.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.autoclick_delay_ms.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 +78,8 @@
</cr-dropdown-menu>
</core-label>
<core-label horizontal layout>
- <cr-checkbox checked="{{prefs.settings.a11y.virtualKeyboard}}" for>
+ <cr-checkbox
+ checked="{{prefs.settings.a11y.virtual_keyboard.value}}" for>
</cr-checkbox>
<span>Enable on-screen keyboard</span>
</core-label>

Powered by Google App Engine
This is Rietveld 408576698