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..4022312f5c9841005f3d9dd29d5882f903f979dc 100644 |
--- a/chrome/browser/resources/settings/printing_page/printing_page.js |
+++ b/chrome/browser/resources/settings/printing_page/printing_page.js |
@@ -6,14 +6,26 @@ Polymer({ |
is: 'settings-printing-page', |
properties: { |
+ /** Preferences state. */ |
prefs: { |
type: Object, |
notify: true, |
}, |
stevenjb
2016/07/13 17:34:38
bit: blank line
xdai1
2016/07/13 17:45:43
Done.
|
+ /** The current active route. */ |
+ currentRoute: { |
+ type: Object, |
+ notify: true, |
+ }, |
}, |
/** @private */ |
- onManageTap_: function() { |
- window.open(loadTimeData.getString('devicesUrl')); |
+<if expr="chromeos"> |
+ onTapCupsPrinters_: function() { |
+ this.$.pages.setSubpageChain(['cups-printers']); |
+ }, |
+</if> |
+ |
+ onTapCloudPrinters_: function() { |
+ this.$.pages.setSubpageChain(['cloud-printers']); |
}, |
}); |