| 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="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 9 <link rel="import" href="manage_a11y_page.html"> | 9 <link rel="import" href="manage_a11y_page.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 first"> |
| 22 <div class="start">$i18n{optionsInMenuLabel}</div> | 22 <div id="optionsInMenuLabel" class="start"> |
| 23 $i18n{optionsInMenuLabel} |
| 24 </div> |
| 23 <paper-toggle-button id="optionsInMenuToggle" | 25 <paper-toggle-button id="optionsInMenuToggle" |
| 24 checked="{{prefs.settings.a11y.enable_menu.value}}"> | 26 checked="{{prefs.settings.a11y.enable_menu.value}}" |
| 27 aria-labelledby="optionsInMenuLabel"> |
| 25 </paper-toggle-button> | 28 </paper-toggle-button> |
| 26 </div> | 29 </div> |
| 27 <template is="dom-if" if="[[!isGuest_]]"> | 30 <template is="dom-if" if="[[!isGuest_]]"> |
| 28 <div id="subpage-trigger" class="settings-box two-line" | 31 <div id="subpage-trigger" class="settings-box two-line" |
| 29 on-tap="onManageAccessibilityFeaturesTap_" actionable> | 32 on-tap="onManageAccessibilityFeaturesTap_" actionable> |
| 30 <div class="start"> | 33 <div class="start"> |
| 31 $i18n{manageAccessibilityFeatures} | 34 $i18n{manageAccessibilityFeatures} |
| 32 <div class="secondary" id="themesSecondary"> | 35 <div class="secondary" id="themesSecondary"> |
| 33 $i18n{moreFeaturesLinkDescription} | 36 $i18n{moreFeaturesLinkDescription} |
| 34 </div> | 37 </div> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 62 </div> | 65 </div> |
| 63 <button class="icon-external" is="paper-icon-button-light" | 66 <button class="icon-external" is="paper-icon-button-light" |
| 64 aria-label="$i18n{moreFeaturesLink}" | 67 aria-label="$i18n{moreFeaturesLink}" |
| 65 aria-describedby="moreFeaturesSecondary"></button> | 68 aria-describedby="moreFeaturesSecondary"></button> |
| 66 </div> | 69 </div> |
| 67 </if> | 70 </if> |
| 68 | 71 |
| 69 </template> | 72 </template> |
| 70 <script src="a11y_page.js"></script> | 73 <script src="a11y_page.js"></script> |
| 71 </dom-module> | 74 </dom-module> |
| OLD | NEW |