Chromium Code Reviews| OLD | NEW |
|---|---|
| 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="../i18n_setup.html"> | 3 <link rel="import" href="../i18n_setup.html"> |
| 4 <link rel="import" href="../settings_shared_css.html"> | 4 <link rel="import" href="../settings_shared_css.html"> |
| 5 | 5 |
| 6 <if expr="chromeos"> | 6 <if expr="chromeos"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> |
| 8 <link rel="import" href="manage_a11y_page.html"> | 8 <link rel="import" href="manage_a11y_page.html"> |
| 9 <link rel="import" href="../controls/settings_toggle_button.html"> | 9 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 10 <link rel="import" href="../settings_page/settings_animated_pages.html"> | 10 <link rel="import" href="../settings_page/settings_animated_pages.html"> |
| 11 <link rel="import" href="../settings_page/settings_subpage.html"> | 11 <link rel="import" href="../settings_page/settings_subpage.html"> |
| 12 </if> | 12 </if> |
| 13 | 13 |
| 14 <dom-module id="settings-a11y-page"> | 14 <dom-module id="settings-a11y-page"> |
| 15 <template> | 15 <template> |
| 16 <style include="settings-shared"></style> | 16 <style include="settings-shared"></style> |
| 17 <if expr="chromeos"> | 17 <if expr="chromeos"> |
| 18 <settings-animated-pages id="pages" current-route="{{currentRoute}}" | 18 <settings-animated-pages id="pages" current-route="{{currentRoute}}" |
| 19 section="a11y"> | 19 section="a11y"> |
| 20 <neon-animatable route-path="default"> | 20 <neon-animatable route-path="default"> |
| 21 <div class="settings-box first"> | 21 <div class="settings-box block"> |
|
dschuyler
2017/04/06 22:04:53
I don't think .block is helping here. s/block//
hcarmona
2017/04/06 23:36:37
Done.
| |
| 22 <div id="optionsInMenuLabel" class="start"> | |
| 23 $i18n{optionsInMenuLabel} | |
| 24 </div> | |
| 25 <settings-toggle-button id="optionsInMenuToggle" | 22 <settings-toggle-button id="optionsInMenuToggle" |
|
dschuyler
2017/04/06 22:04:53
Consider adding .settings-box here
<settings-togg
hcarmona
2017/04/06 23:36:37
Sounds good. Done.
| |
| 23 label="$i18n{optionsInMenuLabel}" | |
| 26 pref="{{prefs.settings.a11y.enable_menu}}" | 24 pref="{{prefs.settings.a11y.enable_menu}}" |
| 27 aria-labelledby="optionsInMenuLabel"> | 25 aria-labelledby="optionsInMenuLabel"> |
| 28 </settings-toggle-button> | 26 </settings-toggle-button> |
| 29 </div> | 27 </div> |
| 30 <div id="subpage-trigger" class="settings-box two-line" | 28 <div id="subpage-trigger" class="settings-box two-line" |
| 31 on-tap="onManageAccessibilityFeaturesTap_" actionable> | 29 on-tap="onManageAccessibilityFeaturesTap_" actionable> |
| 32 <div class="start"> | 30 <div class="start"> |
| 33 $i18n{manageAccessibilityFeatures} | 31 $i18n{manageAccessibilityFeatures} |
| 34 <div class="secondary" id="themesSecondary"> | 32 <div class="secondary" id="themesSecondary"> |
| 35 $i18n{moreFeaturesLinkDescription} | 33 $i18n{moreFeaturesLinkDescription} |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 63 </div> | 61 </div> |
| 64 <button class="icon-external" is="paper-icon-button-light" | 62 <button class="icon-external" is="paper-icon-button-light" |
| 65 aria-label="$i18n{moreFeaturesLink}" | 63 aria-label="$i18n{moreFeaturesLink}" |
| 66 aria-describedby="moreFeaturesSecondary"></button> | 64 aria-describedby="moreFeaturesSecondary"></button> |
| 67 </div> | 65 </div> |
| 68 </if> | 66 </if> |
| 69 | 67 |
| 70 </template> | 68 </template> |
| 71 <script src="a11y_page.js"></script> | 69 <script src="a11y_page.js"></script> |
| 72 </dom-module> | 70 </dom-module> |
| OLD | NEW |