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

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

Issue 2110653003: CUPS: MD Settings printers subpage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format the Google cloud printing icon. Created 4 years, 5 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 43df17710df47a5676f54a1713daaad6fc8d5c78..ee4a8f571d68482524bb1004068fac08e07a576c 100644
--- a/chrome/browser/resources/settings/printing_page/printing_page.js
+++ b/chrome/browser/resources/settings/printing_page/printing_page.js
@@ -6,14 +6,28 @@ Polymer({
is: 'settings-printing-page',
properties: {
+ /** Preferences state. */
prefs: {
type: Object,
notify: true,
},
+
+ /** The current active route. */
+ currentRoute: {
+ type: Object,
+ notify: true,
+ },
+ },
+
+<if expr="chromeos">
+ /** @private */
+ onTapCupsPrinters_: function() {
+ this.$.pages.setSubpageChain(['cups-printers']);
},
+</if>
/** @private */
- onManageTap_: function() {
- window.open(loadTimeData.getString('devicesUrl'));
+ onTapCloudPrinters_: function() {
+ this.$.pages.setSubpageChain(['cloud-printers']);
},
});

Powered by Google App Engine
This is Rietveld 408576698