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

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

Issue 2295533002: [CUPS] Put the CUPS settings UI behind a command line flag --enable-native-cups. (Closed)
Patch Set: Fix the trybot failure Created 4 years, 3 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/iron-icon/iron-icon.htm l"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
3 <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/neon-animation/neon-ani matable.html">
4 <link rel="import" href="/icons.html"> 4 <link rel="import" href="/icons.html">
5 <link rel="import" href="/printing_page/cloud_printers.html"> 5 <link rel="import" href="/printing_page/cloud_printers.html">
6 <link rel="import" href="/route.html"> 6 <link rel="import" href="/route.html">
7 <link rel="import" href="/settings_page/settings_animated_pages.html"> 7 <link rel="import" href="/settings_page/settings_animated_pages.html">
8 <link rel="import" href="/settings_page/settings_subpage.html"> 8 <link rel="import" href="/settings_page/settings_subpage.html">
9 <link rel="import" href="/settings_shared_css.html"> 9 <link rel="import" href="/settings_shared_css.html">
10 <if expr="chromeos"> 10 <if expr="chromeos">
11 <link rel="import" href="/printing_page/cups_printer_details_page.html"> 11 <link rel="import" href="/printing_page/cups_printer_details_page.html">
12 <link rel="import" href="/printing_page/cups_printers.html"> 12 <link rel="import" href="/printing_page/cups_printers.html">
13 </if> 13 </if>
14 14
15 <dom-module id="settings-printing-page"> 15 <dom-module id="settings-printing-page">
16 <template> 16 <template>
17 <style include="settings-shared"></style> 17 <style include="settings-shared"></style>
18 <settings-animated-pages id="pages" section="printing"> 18 <settings-animated-pages id="pages" section="printing">
19 <array-selector id="arraySelector" items="{{cupsPrinters}}" 19 <array-selector id="arraySelector" items="{{cupsPrinters}}"
20 selected="{{detailPrinter_}}"> 20 selected="{{detailPrinter_}}">
21 </array-selector> 21 </array-selector>
22 <neon-animatable route-path="default"> 22 <neon-animatable route-path="default">
23 <if expr="chromeos"> 23 <if expr="chromeos">
24 <div id="cupsPrinters" class="settings-box first" 24 <template is="dom-if" if="[[showCupsPrintingFeatures_]]">
25 on-tap="onTapCupsPrinters_" actionable> 25 <div id="cupsPrinters" class="settings-box first"
26 <iron-icon icon="cr:print"></iron-icon> 26 on-tap="onTapCupsPrinters_" actionable>
27 <div class="middle">$i18n{cupsPrintersTitle}</div> 27 <iron-icon icon="cr:print"></iron-icon>
28 </div> 28 <div class="middle">$i18n{cupsPrintersTitle}</div>
29 </div>
30 </template>
29 </if> 31 </if>
30 <div id="cloudPrinters" class="settings-box" 32 <div id="cloudPrinters" class="settings-box"
31 on-tap="onTapCloudPrinters_" actionable> 33 on-tap="onTapCloudPrinters_" actionable>
32 <iron-icon icon="settings:cloud-printing"></iron-icon> 34 <iron-icon icon="settings:cloud-printing"></iron-icon>
33 <div class="middle">$i18n{cloudPrintersTitle}</div> 35 <div class="middle">$i18n{cloudPrintersTitle}</div>
34 </div> 36 </div>
35 </neon-animatable> 37 </neon-animatable>
36 <if expr="chromeos"> 38 <if expr="chromeos">
37 <template is="dom-if" route-path="/cupsPrinters"> 39 <template is="dom-if" route-path="/cupsPrinters">
38 <settings-subpage 40 <settings-subpage
(...skipping 18 matching lines...) Expand all
57 associated-control="[[$$('#cloudPrinters')]]" 59 associated-control="[[$$('#cloudPrinters')]]"
58 page-title="$i18n{cloudPrintersTitle}"> 60 page-title="$i18n{cloudPrintersTitle}">
59 <settings-cloud-printers prefs="{{prefs}}"> 61 <settings-cloud-printers prefs="{{prefs}}">
60 </settings-cloud-printers> 62 </settings-cloud-printers>
61 </settings-subpage> 63 </settings-subpage>
62 </template> 64 </template>
63 </settings-animated-pages> 65 </settings-animated-pages>
64 </template> 66 </template>
65 <script src="printing_page.js"></script> 67 <script src="printing_page.js"></script>
66 </dom-module> 68 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698