OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 Polymer({ | 5 Polymer({ |
6 is: 'settings-printing-page', | 6 is: 'settings-printing-page', |
7 | 7 |
8 properties: { | 8 properties: { |
9 /** Preferences state. */ | |
9 prefs: { | 10 prefs: { |
10 type: Object, | 11 type: Object, |
11 notify: true, | 12 notify: true, |
12 }, | 13 }, |
stevenjb
2016/07/13 17:34:38
bit: blank line
xdai1
2016/07/13 17:45:43
Done.
| |
14 /** The current active route. */ | |
15 currentRoute: { | |
16 type: Object, | |
17 notify: true, | |
18 }, | |
13 }, | 19 }, |
14 | 20 |
15 /** @private */ | 21 /** @private */ |
16 onManageTap_: function() { | 22 <if expr="chromeos"> |
17 window.open(loadTimeData.getString('devicesUrl')); | 23 onTapCupsPrinters_: function() { |
24 this.$.pages.setSubpageChain(['cups-printers']); | |
25 }, | |
26 </if> | |
27 | |
28 onTapCloudPrinters_: function() { | |
29 this.$.pages.setSubpageChain(['cloud-printers']); | |
18 }, | 30 }, |
19 }); | 31 }); |
OLD | NEW |