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

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

Issue 2689053002: MD Settings: label and describe a bunch of subpage/open-in-new buttons (Closed)
Patch Set: downloadSize -> downloadsSize Created 3 years, 10 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/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
4 <link rel="import" href="cloud_printers.html"> 4 <link rel="import" href="cloud_printers.html">
5 <link rel="import" href="../route.html"> 5 <link rel="import" href="../route.html">
6 <link rel="import" href="../settings_page/settings_animated_pages.html"> 6 <link rel="import" href="../settings_page/settings_animated_pages.html">
7 <link rel="import" href="../settings_page/settings_subpage.html"> 7 <link rel="import" href="../settings_page/settings_subpage.html">
8 <link rel="import" href="../settings_shared_css.html"> 8 <link rel="import" href="../settings_shared_css.html">
9 <if expr="chromeos"> 9 <if expr="chromeos">
10 <link rel="import" href="cups_printer_details_page.html"> 10 <link rel="import" href="cups_printer_details_page.html">
11 <link rel="import" href="cups_printers.html"> 11 <link rel="import" href="cups_printers.html">
12 </if> 12 </if>
13 13
14 <dom-module id="settings-printing-page"> 14 <dom-module id="settings-printing-page">
15 <template> 15 <template>
16 <style include="settings-shared"></style> 16 <style include="settings-shared"></style>
17 <settings-animated-pages id="pages" section="printing"> 17 <settings-animated-pages id="pages" section="printing">
18 <array-selector id="arraySelector" items="{{cupsPrinters}}" 18 <array-selector id="arraySelector" items="{{cupsPrinters}}"
19 selected="{{detailPrinter_}}"> 19 selected="{{detailPrinter_}}">
20 </array-selector> 20 </array-selector>
21 <neon-animatable route-path="default"> 21 <neon-animatable route-path="default">
22 <if expr="chromeos"> 22 <if expr="chromeos">
23 <template is="dom-if" if="[[showCupsPrintingFeatures_]]"> 23 <template is="dom-if" if="[[showCupsPrintingFeatures_]]">
24 <div id="cupsPrinters" class="settings-box first" 24 <div id="cupsPrinters" class="settings-box first"
25 on-tap="onTapCupsPrinters_" actionable> 25 on-tap="onTapCupsPrinters_" actionable>
26 <div class="start"> 26 <div class="start">$i18n{cupsPrintersTitle}</div>
27 $i18n{cupsPrintersTitle} 27 <button class="subpage-arrow" is="paper-icon-button-light"
28 </div> 28 aria-label="$i18n{cupsPrintersTitle}"></button>
29 <button class="subpage-arrow" is="paper-icon-button-light"></button>
30 </div> 29 </div>
31 </template> 30 </template>
32 </if> 31 </if>
33 <div id="cloudPrinters" class="settings-box two-line" 32 <div id="cloudPrinters" class="settings-box two-line"
34 on-tap="onTapCloudPrinters_" actionable> 33 on-tap="onTapCloudPrinters_" actionable>
35 <div class="start"> 34 <div class="start">
36 $i18n{cloudPrintersTitle} 35 $i18n{cloudPrintersTitle}
37 <div class="secondary">$i18n{cloudPrintersTitleDescription}</div> 36 <div class="secondary" id="cloudPrintersSecondary">
37 $i18n{cloudPrintersTitleDescription}
38 </div>
38 </div> 39 </div>
39 <button class="subpage-arrow" is="paper-icon-button-light"></button> 40 <button class="subpage-arrow" is="paper-icon-button-light"
41 aria-label="$i18n{cloudPrintersTitle}"
42 aria-describedby="cloudPrintersSecondary"></button>
40 </div> 43 </div>
41 </neon-animatable> 44 </neon-animatable>
42 <if expr="chromeos"> 45 <if expr="chromeos">
43 <template is="dom-if" if="[[showCupsPrintingFeatures_]]"> 46 <template is="dom-if" if="[[showCupsPrintingFeatures_]]">
44 <template is="dom-if" route-path="/cupsPrinters"> 47 <template is="dom-if" route-path="/cupsPrinters">
45 <settings-subpage 48 <settings-subpage
46 associated-control="[[$$('#cupsPrinters')]]" 49 associated-control="[[$$('#cupsPrinters')]]"
47 page-title="$i18n{cupsPrintersTitle}" 50 page-title="$i18n{cupsPrintersTitle}"
48 search-label="$i18n{searchLabel}" 51 search-label="$i18n{searchLabel}"
49 search-term="{{searchTerm}}"> 52 search-term="{{searchTerm}}">
(...skipping 16 matching lines...) Expand all
66 associated-control="[[$$('#cloudPrinters')]]" 69 associated-control="[[$$('#cloudPrinters')]]"
67 page-title="$i18n{cloudPrintersTitle}"> 70 page-title="$i18n{cloudPrintersTitle}">
68 <settings-cloud-printers prefs="{{prefs}}"> 71 <settings-cloud-printers prefs="{{prefs}}">
69 </settings-cloud-printers> 72 </settings-cloud-printers>
70 </settings-subpage> 73 </settings-subpage>
71 </template> 74 </template>
72 </settings-animated-pages> 75 </settings-animated-pages>
73 </template> 76 </template>
74 <script src="printing_page.js"></script> 77 <script src="printing_page.js"></script>
75 </dom-module> 78 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698