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

Side by Side Diff: chrome/browser/resources/settings/a11y_page/a11y_page.html

Issue 986843002: Scaffold for MD-Settings, inside chrome://md-settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expand scaffold and add to chrome://md-settings (point of this CL) 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
2 <link rel="import" href="chrome://md-settings/settings_page/settings_page_header .html">
2 <link rel="import" href="chrome://resources/polymer/core-label/core-label.html"> 3 <link rel="import" href="chrome://resources/polymer/core-label/core-label.html">
3 <link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html"> 4 <link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html">
4 <link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html"> 5 <link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html">
5 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. html"> 6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. html">
6 <link rel="import" href="chrome://resources/cr_elements/cr_dropdown_menu/cr_drop down_menu.html"> 7 <link rel="import" href="chrome://resources/cr_elements/cr_dropdown_menu/cr_drop down_menu.html">
7 8
8 <polymer-element name="cr-settings-a11y-page" layout vertical> 9 <polymer-element name="cr-settings-a11y-page">
9 <template> 10 <template>
11 <link rel="stylesheet" href="chrome://md-settings/settings_page/settings_pag e.css">
10 <link rel="stylesheet" href="a11y_page.css"> 12 <link rel="stylesheet" href="a11y_page.css">
11 <core-label horizontal layout> 13 <section layout vertical cross-fade>
12 <cr-checkbox checked="{{prefs.settings.a11y.enableMenu}}" for> 14 <cr-settings-page-header page="{{}}"></cr-settings-page-header>
13 </cr-checkbox> 15 <core-label horizontal layout>
14 <span>Show accessibility options in the system menu</span> 16 <cr-checkbox checked="{{prefs.settings.a11y.enableMenu}}" for>
15 </core-label> 17 </cr-checkbox>
16 <core-label horizontal layout> 18 <span>Show accessibility options in the system menu</span>
17 <cr-checkbox checked="{{prefs.settings.a11y.largeCursorEnabled}}" for> 19 </core-label>
18 </cr-checkbox> 20 <core-label horizontal layout>
19 <span>Show large mouse cursor</span> 21 <cr-checkbox checked="{{prefs.settings.a11y.largeCursorEnabled}}" for>
20 </core-label> 22 </cr-checkbox>
21 <core-label horizontal layout> 23 <span>Show large mouse cursor</span>
22 <cr-checkbox checked="{{prefs.settings.a11y.highContrastEnabled}}" for> 24 </core-label>
23 </cr-checkbox> 25 <core-label horizontal layout>
24 <span>Use high contrast mode</span> 26 <cr-checkbox checked="{{prefs.settings.a11y.highContrastEnabled}}" for>
25 </core-label> 27 </cr-checkbox>
26 <core-label horizontal layout> 28 <span>Use high contrast mode</span>
27 <cr-checkbox checked="{{prefs.settings.a11y.stickyKeysEnabled}}" for> 29 </core-label>
28 </cr-checkbox> 30 <core-label horizontal layout>
29 <span>Enable sticky keys</span> 31 <cr-checkbox checked="{{prefs.settings.a11y.stickyKeysEnabled}}" for>
30 <span class="sub-label"> 32 </cr-checkbox>
31 (to perform keyboard shortcuts by typing them sequentially) 33 <span>Enable sticky keys</span>
32 </span> 34 <span class="sub-label">
33 </core-label> 35 (to perform keyboard shortcuts by typing them sequentially)
34 <core-label horizontal layout> 36 </span>
35 <cr-checkbox checked="{{prefs.settings.accessibility}}" for> 37 </core-label>
36 </cr-checkbox> 38 <core-label horizontal layout>
37 <span>Enable ChromeVox</span> 39 <cr-checkbox checked="{{prefs.settings.accessibility}}" for>
38 <span class="sub-label"> 40 </cr-checkbox>
39 (spoken feedback) 41 <span>Enable ChromeVox</span>
40 </span> 42 <span class="sub-label">
41 </core-label> 43 (spoken feedback)
42 <core-label horizontal layout> 44 </span>
43 <cr-checkbox checked="{{prefs.settings.a11y.screenMagnifier}}" for> 45 </core-label>
44 </cr-checkbox> 46 <core-label horizontal layout>
45 <span>Enable screen magnifier</span> 47 <cr-checkbox checked="{{prefs.settings.a11y.screenMagnifier}}" for>
46 </core-label> 48 </cr-checkbox>
47 <core-label horizontal layout> 49 <span>Enable screen magnifier</span>
48 <cr-checkbox checked="{{prefs.settings.touchpad.enableTapDragging}}" for> 50 </core-label>
49 </cr-checkbox> 51 <core-label horizontal layout>
50 <span>Enable tap dragging</span> 52 <cr-checkbox checked="{{prefs.settings.touchpad.enableTapDragging}}" for >
51 </core-label> 53 </cr-checkbox>
52 <core-label horizontal layout> 54 <span>Enable tap dragging</span>
53 <cr-checkbox checked="{{prefs.settings.a11y.autoclick}}" for> 55 </core-label>
54 </cr-checkbox> 56 <core-label horizontal layout>
55 <span>Automatically click when the mouse pointer stops</span> 57 <cr-checkbox checked="{{prefs.settings.a11y.autoclick}}" for>
56 </core-label> 58 </cr-checkbox>
57 <core-label horizontal layout center class="autoclick-delay-label" 59 <span>Automatically click when the mouse pointer stops</span>
58 hidden?="{{!prefs.settings.a11y.autoclick}}"> 60 </core-label>
59 <span>Delay before click:</span> 61 <core-label horizontal layout center class="autoclick-delay-label"
60 <cr-dropdown-menu class="autoclick-dropdown"> 62 hidden?="{{!prefs.settings.a11y.autoclick}}">
61 <core-menu class="menu" valueAttr="value" selectedAttribute="" 63 <span>Delay before click:</span>
62 selected="{{prefs.settings.a11y.autoclickDelayMs}}"> 64 <cr-dropdown-menu class="autoclick-dropdown">
63 <paper-item value="200">extremely short</paper-item> 65 <core-menu class="menu" valueAttr="value" selectedAttribute=""
64 <paper-item value="400">very short</paper-item> 66 selected="{{prefs.settings.a11y.autoclickDelayMs}}">
65 <paper-item value="600">short</paper-item> 67 <paper-item value="200">extremely short</paper-item>
66 <paper-item value="800">long</paper-item> 68 <paper-item value="400">very short</paper-item>
67 <paper-item value="1000">very long</paper-item> 69 <paper-item value="600">short</paper-item>
68 </core-menu> 70 <paper-item value="800">long</paper-item>
69 </cr-dropdown-menu> 71 <paper-item value="1000">very long</paper-item>
70 </core-label> 72 </core-menu>
71 <core-label horizontal layout> 73 </cr-dropdown-menu>
72 <cr-checkbox checked="{{prefs.settings.a11y.virtualKeyboard}}" for> 74 </core-label>
73 </cr-checkbox> 75 <core-label horizontal layout>
74 <span>Enable on-screen keyboard</span> 76 <cr-checkbox checked="{{prefs.settings.a11y.virtualKeyboard}}" for>
75 </core-label> 77 </cr-checkbox>
78 <span>Enable on-screen keyboard</span>
79 </core-label>
80 </section>
76 </template> 81 </template>
77 <script src="a11y_page.js"></script> 82 <script src="a11y_page.js"></script>
78 </polymer-element> 83 </polymer-element>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/a11y_page.css ('k') | chrome/browser/resources/settings/a11y_page/a11y_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698