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

Unified Diff: chrome/browser/resources/settings/printing_page/printing_page.js

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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/printing_page/printing_page.js
diff --git a/chrome/browser/resources/settings/printing_page/printing_page.js b/chrome/browser/resources/settings/printing_page/printing_page.js
index 9c282bf3dc03443fa8f5339764568ec6a7fc7acc..fbc14d451c03269c71c194e37c338838e7091b33 100644
--- a/chrome/browser/resources/settings/printing_page/printing_page.js
+++ b/chrome/browser/resources/settings/printing_page/printing_page.js
@@ -12,6 +12,19 @@ Polymer({
notify: true,
},
+<if expr="chromeos">
+ /**
+ * Whether to show CUPS printers settings.
+ * @private {boolean}
+ */
+ showCupsPrintingFeatures_: {
+ type: Boolean,
+ value: function() {
+ return loadTimeData.getBoolean('showCupsPrintingFeatures');
+ },
+ },
+</if>
+
/** @type {!Array<!CupsPrinterInfo>} */
cupsPrinters: {
type: Array,

Powered by Google App Engine
This is Rietveld 408576698