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

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

Issue 2726483002: MD Settings: fix some dynamically bound aria-labels (Closed)
Patch Set: Created 3 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/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://resources/html/md_select_css.html"> 2 <link rel="import" href="chrome://resources/html/md_select_css.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="device_page_browser_proxy.html"> 7 <link rel="import" href="device_page_browser_proxy.html">
8 <link rel="import" href="display.html"> 8 <link rel="import" href="display.html">
9 <link rel="import" href="keyboard.html"> 9 <link rel="import" href="keyboard.html">
10 <link rel="import" href="pointers.html"> 10 <link rel="import" href="pointers.html">
11 <link rel="import" href="storage.html"> 11 <link rel="import" href="storage.html">
12 <link rel="import" href="stylus.html"> 12 <link rel="import" href="stylus.html">
13 <link rel="import" href="../prefs/prefs.html"> 13 <link rel="import" href="../prefs/prefs.html">
14 <link rel="import" href="../route.html"> 14 <link rel="import" href="../route.html">
15 <link rel="import" href="../settings_page/settings_animated_pages.html"> 15 <link rel="import" href="../settings_page/settings_animated_pages.html">
16 <link rel="import" href="../settings_page/settings_subpage.html"> 16 <link rel="import" href="../settings_page/settings_subpage.html">
17 <link rel="import" href="../settings_shared_css.html"> 17 <link rel="import" href="../settings_shared_css.html">
18 18
19 <dom-module id="settings-device-page"> 19 <dom-module id="settings-device-page">
20 <template> 20 <template>
21 <style include="settings-shared md-select"></style> 21 <style include="settings-shared md-select"></style>
22 <settings-animated-pages id="pages" section="device"> 22 <settings-animated-pages id="pages" section="device">
23 <neon-animatable id="main" route-path="default"> 23 <neon-animatable id="main" route-path="default">
24 <div id="pointersRow" class="settings-box first" 24 <div id="pointersRow" class="settings-box first"
25 on-tap="onPointersTap_" actionable> 25 on-tap="onPointersTap_" actionable>
26 <div class="start"> 26 <div class="start">
27 [[getPointersTitle_(hasMouse_, hasTouchpad_)]] 27 [[getPointersTitle_(hasMouse_, hasTouchpad_)]]
28 </div> 28 </div>
29 <button class="subpage-arrow" is="paper-icon-button-light" 29 <button class="subpage-arrow" is="paper-icon-button-light"
30 aria-label="[[getPointersTitle_(hasMouse_, 30 aria-label$="[[getPointersTitle_(hasMouse_,
31 hasTouchpad_)]]"></button> 31 hasTouchpad_)]]"></button>
32 </div> 32 </div>
33 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_" 33 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_"
34 actionable> 34 actionable>
35 <div class="start">$i18n{keyboardTitle}</div> 35 <div class="start">$i18n{keyboardTitle}</div>
36 <button class="subpage-arrow" is="paper-icon-button-light" 36 <button class="subpage-arrow" is="paper-icon-button-light"
37 aria-label="$i18n{keyboardTitle}"></button> 37 aria-label="$i18n{keyboardTitle}"></button>
38 </div> 38 </div>
39 <template is="dom-if" if="[[hasStylus_]]"> 39 <template is="dom-if" if="[[hasStylus_]]">
40 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_" 40 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 <settings-subpage 119 <settings-subpage
120 associated-control="[[$$('#storageRow')]]" 120 associated-control="[[$$('#storageRow')]]"
121 page-title="$i18n{storageTitle}"> 121 page-title="$i18n{storageTitle}">
122 <settings-storage></settings-storage> 122 <settings-storage></settings-storage>
123 </settings-subpage> 123 </settings-subpage>
124 </template> 124 </template>
125 </settings-animated-pages> 125 </settings-animated-pages>
126 </template> 126 </template>
127 <script src="device_page.js"></script> 127 <script src="device_page.js"></script>
128 </dom-module> 128 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698