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

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

Issue 2792563003: Settings: a11y: Just hide 'additional features' link (Closed)
Patch Set: Created 3 years, 8 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/a11y_page/a11y_page.js » ('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="../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 first">
22 <div id="optionsInMenuLabel" class="start"> 22 <div id="optionsInMenuLabel" class="start">
23 $i18n{optionsInMenuLabel} 23 $i18n{optionsInMenuLabel}
24 </div> 24 </div>
25 <settings-toggle-button id="optionsInMenuToggle" 25 <settings-toggle-button id="optionsInMenuToggle"
26 pref="{{prefs.settings.a11y.enable_menu}}" 26 pref="{{prefs.settings.a11y.enable_menu}}"
27 aria-labelledby="optionsInMenuLabel"> 27 aria-labelledby="optionsInMenuLabel">
28 </settings-toggle-button> 28 </settings-toggle-button>
29 </div> 29 </div>
30 <template is="dom-if" if="[[!isGuest_]]"> 30 <div id="subpage-trigger" class="settings-box two-line"
31 <div id="subpage-trigger" class="settings-box two-line" 31 on-tap="onManageAccessibilityFeaturesTap_" actionable>
32 on-tap="onManageAccessibilityFeaturesTap_" actionable> 32 <div class="start">
33 <div class="start"> 33 $i18n{manageAccessibilityFeatures}
34 $i18n{manageAccessibilityFeatures} 34 <div class="secondary" id="themesSecondary">
35 <div class="secondary" id="themesSecondary"> 35 $i18n{moreFeaturesLinkDescription}
36 $i18n{moreFeaturesLinkDescription}
37 </div>
38 </div> 36 </div>
39 <button class="subpage-arrow" is="paper-icon-button-light"
40 aria-label="$i18n{manageAccessibilityFeatures}"
41 aria-describedby="themesSecondary"></button>
42 </div> 37 </div>
43 </template> 38 <button class="subpage-arrow" is="paper-icon-button-light"
39 aria-label="$i18n{manageAccessibilityFeatures}"
40 aria-describedby="themesSecondary"></button>
41 </div>
stevenjb 2017/03/31 17:48:55 One of these days a diff program will figure out '
44 </neon-animatable> 42 </neon-animatable>
45 43
46 <template is="dom-if" route-path="/manageAccessibility"> 44 <template is="dom-if" route-path="/manageAccessibility">
47 <settings-subpage 45 <settings-subpage
48 associated-control="[[$$('#subpage-trigger')]]" 46 associated-control="[[$$('#subpage-trigger')]]"
49 page-title="$i18n{manageAccessibilityFeatures}"> 47 page-title="$i18n{manageAccessibilityFeatures}">
50 <settings-manage-a11y-page prefs="{{prefs}}"> 48 <settings-manage-a11y-page prefs="{{prefs}}">
51 </settings-manage-a11y-page> 49 </settings-manage-a11y-page>
52 </settings-subpage> 50 </settings-subpage>
53 </template> 51 </template>
(...skipping 11 matching lines...) Expand all
65 </div> 63 </div>
66 <button class="icon-external" is="paper-icon-button-light" 64 <button class="icon-external" is="paper-icon-button-light"
67 aria-label="$i18n{moreFeaturesLink}" 65 aria-label="$i18n{moreFeaturesLink}"
68 aria-describedby="moreFeaturesSecondary"></button> 66 aria-describedby="moreFeaturesSecondary"></button>
69 </div> 67 </div>
70 </if> 68 </if>
71 69
72 </template> 70 </template>
73 <script src="a11y_page.js"></script> 71 <script src="a11y_page.js"></script>
74 </dom-module> 72 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/a11y_page/a11y_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698