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

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

Issue 2387053004: [MD settings] tweaks to what is shown in about page; and css cleanup (Closed)
Patch Set: fixing chromeos browser tests Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/about_page.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
3 <link rel="import" href="/controls/settings_checkbox.html"> 3 <link rel="import" href="/controls/settings_checkbox.html">
4 <link rel="import" href="/i18n_setup.html"> 4 <link rel="import" href="/i18n_setup.html">
5 <link rel="import" href="/route.html"> 5 <link rel="import" href="/route.html">
6 <link rel="import" href="/settings_shared_css.html"> 6 <link rel="import" href="/settings_shared_css.html">
7 <link rel="import" href="/settings_vars_css.html"> 7 <link rel="import" href="/settings_vars_css.html">
8 8
9 <dom-module id="settings-manage-a11y-page"> 9 <dom-module id="settings-manage-a11y-page">
10 <template> 10 <template>
11 <style include="settings-shared"> 11 <style include="settings-shared">
12 .indented { 12 .indented {
13 -webkit-margin-start: 20px; 13 -webkit-margin-start: 20px;
14 } 14 }
15 15
16 .no-top-border { 16 .no-top-border {
17 border-top: none; 17 border-top: none;
18 } 18 }
19 19
20 .settings-box iron-icon {
21 -webkit-margin-end: var(--iron-icon-spacing);
22 }
23
24 .settings-box settings-checkbox { 20 .settings-box settings-checkbox {
25 flex-grow: 1; 21 flex-grow: 1;
26 } 22 }
27 23
28 .list-item settings-dropdown-menu { 24 .list-item settings-dropdown-menu {
29 -webkit-margin-start: 16px; 25 -webkit-margin-start: 16px;
30 } 26 }
31 </style> 27 </style>
32 <div class="settings-box row first"> 28 <div class="settings-box row first">
33 <span> 29 <span>
(...skipping 27 matching lines...) Expand all
61 <settings-checkbox label="$i18n{highContrastLabel}" 57 <settings-checkbox label="$i18n{highContrastLabel}"
62 pref="{{prefs.settings.a11y.high_contrast_enabled}}"> 58 pref="{{prefs.settings.a11y.high_contrast_enabled}}">
63 </settings-checkbox> 59 </settings-checkbox>
64 <settings-checkbox label="$i18n{screenMagnifierLabel}" 60 <settings-checkbox label="$i18n{screenMagnifierLabel}"
65 pref="{{prefs.settings.a11y.screen_magnifier}}"> 61 pref="{{prefs.settings.a11y.screen_magnifier}}">
66 </settings-checkbox> 62 </settings-checkbox>
67 </div> 63 </div>
68 <div class="settings-box two-line indented" on-tap="onDisplayTap_" 64 <div class="settings-box two-line indented" on-tap="onDisplayTap_"
69 actionable> 65 actionable>
70 <iron-icon icon="settings:desktop-windows"></iron-icon> 66 <iron-icon icon="settings:desktop-windows"></iron-icon>
71 <div class="start"> 67 <div class="middle">
72 <div>$i18n{displaySettingsTitle}</div> 68 <div>$i18n{displaySettingsTitle}</div>
73 <div class="secondary">$i18n{displaySettingsDescription}</div> 69 <div class="secondary">$i18n{displaySettingsDescription}</div>
74 </div> 70 </div>
75 </div> 71 </div>
76 <div class="settings-box two-line indented" on-tap="onAppearanceTap_" 72 <div class="settings-box two-line indented" on-tap="onAppearanceTap_"
77 actionable> 73 actionable>
78 <iron-icon icon="settings:text-format"></iron-icon> 74 <iron-icon icon="settings:text-format"></iron-icon>
79 <div class="start"> 75 <div class="middle">
80 <div>$i18n{appearanceSettingsTitle}</div> 76 <div>$i18n{appearanceSettingsTitle}</div>
81 <div class="secondary">$i18n{appearanceSettingsDescription}</div> 77 <div class="secondary">$i18n{appearanceSettingsDescription}</div>
82 </div> 78 </div>
83 </div> 79 </div>
84 80
85 <h2>$i18n{keyboardHeading}</h2> 81 <h2>$i18n{keyboardHeading}</h2>
86 <div class="settings-box block first indented"> 82 <div class="settings-box block first indented">
87 <settings-checkbox 83 <settings-checkbox
88 pref="{{prefs.settings.a11y.sticky_keys_enabled}}" 84 pref="{{prefs.settings.a11y.sticky_keys_enabled}}"
89 label="$i18n{stickyKeysLabel}"> 85 label="$i18n{stickyKeysLabel}">
90 </settings-checkbox> 86 </settings-checkbox>
91 <settings-checkbox pref="{{prefs.settings.a11y.virtual_keyboard}}" 87 <settings-checkbox pref="{{prefs.settings.a11y.virtual_keyboard}}"
92 label="$i18n{onScreenKeyboardLabel}"> 88 label="$i18n{onScreenKeyboardLabel}">
93 </settings-checkbox> 89 </settings-checkbox>
94 <settings-checkbox pref="{{prefs.settings.a11y.focus_highlight}}" 90 <settings-checkbox pref="{{prefs.settings.a11y.focus_highlight}}"
95 label="$i18n{focusHighlightLabel}"> 91 label="$i18n{focusHighlightLabel}">
96 </settings-checkbox> 92 </settings-checkbox>
97 <settings-checkbox pref="{{prefs.settings.a11y.caret_highlight}}" 93 <settings-checkbox pref="{{prefs.settings.a11y.caret_highlight}}"
98 label="$i18n{caretHighlightLabel}"> 94 label="$i18n{caretHighlightLabel}">
99 </settings-checkbox> 95 </settings-checkbox>
100 <template is="dom-if" if="[[showExperimentalFeatures_]]"> 96 <template is="dom-if" if="[[showExperimentalFeatures_]]">
101 <settings-checkbox pref="{{prefs.settings.a11y.switch_access}}" 97 <settings-checkbox pref="{{prefs.settings.a11y.switch_access}}"
102 label="$i18n{switchAccessLabel}"> 98 label="$i18n{switchAccessLabel}">
103 </settings-checkbox> 99 </settings-checkbox>
104 </template> 100 </template>
105 </div> 101 </div>
106 <div class="settings-box two-line indented" on-tap="onKeyboardTap_" 102 <div class="settings-box two-line indented" on-tap="onKeyboardTap_"
107 actionable> 103 actionable>
108 <iron-icon icon="settings:keyboard"></iron-icon> 104 <iron-icon icon="settings:keyboard"></iron-icon>
109 <div class="start"> 105 <div class="middle">
110 <div>$i18n{keyboardSettingsTitle}</div> 106 <div>$i18n{keyboardSettingsTitle}</div>
111 <div class="secondary">$i18n{keyboardSettingsDescription}</div> 107 <div class="secondary">$i18n{keyboardSettingsDescription}</div>
112 </div> 108 </div>
113 </div> 109 </div>
114 110
115 <h2>$i18n{mouseAndTouchpadHeading}</h2> 111 <h2>$i18n{mouseAndTouchpadHeading}</h2>
116 <div class="settings-box block first indented"> 112 <div class="settings-box block first indented">
117 <settings-checkbox label="$i18n{clickOnStopLabel}" 113 <settings-checkbox label="$i18n{clickOnStopLabel}"
118 pref="{{prefs.settings.a11y.autoclick}}"> 114 pref="{{prefs.settings.a11y.autoclick}}">
119 </settings-checkbox> 115 </settings-checkbox>
(...skipping 10 matching lines...) Expand all
130 <settings-checkbox label="$i18n{largeMouseCursorLabel}" 126 <settings-checkbox label="$i18n{largeMouseCursorLabel}"
131 pref="{{prefs.settings.a11y.large_cursor_enabled}}"> 127 pref="{{prefs.settings.a11y.large_cursor_enabled}}">
132 </settings-checkbox> 128 </settings-checkbox>
133 <settings-checkbox pref="{{prefs.settings.a11y.cursor_highlight}}" 129 <settings-checkbox pref="{{prefs.settings.a11y.cursor_highlight}}"
134 label="$i18n{cursorHighlightLabel}"> 130 label="$i18n{cursorHighlightLabel}">
135 </settings-checkbox> 131 </settings-checkbox>
136 </div> 132 </div>
137 <div class="settings-box two-line indented" on-tap="onMouseTap_" 133 <div class="settings-box two-line indented" on-tap="onMouseTap_"
138 actionable> 134 actionable>
139 <iron-icon icon="settings:mouse"></iron-icon> 135 <iron-icon icon="settings:mouse"></iron-icon>
140 <div class="start"> 136 <div class="middle">
141 <div>$i18n{mouseSettingsTitle}</div> 137 <div>$i18n{mouseSettingsTitle}</div>
142 <div class="secondary">$i18n{mouseSettingsDescription}</div> 138 <div class="secondary">$i18n{mouseSettingsDescription}</div>
143 <button class="icon-arrow-right" is="paper-icon-button-light"> 139 <button class="icon-arrow-right" is="paper-icon-button-light">
144 </button> 140 </button>
145 </div> 141 </div>
146 </div> 142 </div>
147 143
148 <h2>$i18n{audioHeading}</h2> 144 <h2>$i18n{audioHeading}</h2>
149 <div class="settings-box block first indented"> 145 <div class="settings-box block first indented">
150 <settings-checkbox pref="{{prefs.settings.a11y.mono_audio}}" 146 <settings-checkbox pref="{{prefs.settings.a11y.mono_audio}}"
151 label="$i18n{monoAudioLabel}"> 147 label="$i18n{monoAudioLabel}">
152 </settings-checkbox> 148 </settings-checkbox>
153 </div> 149 </div>
154 </div> 150 </div>
155 151
156 <div class="settings-box two-line" on-tap="onMoreFeaturesTap_" actionable> 152 <div class="settings-box two-line" on-tap="onMoreFeaturesTap_" actionable>
157 <div class="start"> 153 <div class="start">
158 <div>$i18n{additionalFeaturesTitle}</div> 154 <div>$i18n{additionalFeaturesTitle}</div>
159 <div class="secondary">$i18n{a11yWebStore}</div> 155 <div class="secondary">$i18n{a11yWebStore}</div>
160 </div> 156 </div>
161 <button class="icon-external" is="paper-icon-button-light"></button> 157 <button class="icon-external" is="paper-icon-button-light"></button>
162 </div> 158 </div>
163 </template> 159 </template>
164 <script src="manage_a11y_page.js"></script> 160 <script src="manage_a11y_page.js"></script>
165 </dom-module> 161 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/about_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698