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']); |
}, |
}); |