| 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 /** | 5 /** |
| 6 * @fileoverview 'settings-cloud-printers' is a component for showing Google | 6 * @fileoverview 'settings-cloud-printers' is a component for showing Google |
| 7 * Cloud Printer settings subpage (chrome://md-settings/cloudPrinters). | 7 * Cloud Printer settings subpage (chrome://md-settings/cloudPrinters). |
| 8 */ | 8 */ |
| 9 // TODO(xdai): Rename it to 'settings-cloud-printers-page'. | 9 // TODO(xdai): Rename it to 'settings-cloud-printers-page'. |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: 'settings-cloud-printers', | 11 is: 'settings-cloud-printers', |
| 12 | 12 |
| 13 properties: { | 13 properties: { |
| 14 prefs: { | 14 prefs: { |
| 15 type: Object, | 15 type: Object, |
| 16 notify: true, | 16 notify: true, |
| 17 }, | 17 }, |
| 18 }, | 18 }, |
| 19 | |
| 20 /** @private */ | |
| 21 onManageTap_: function() { | |
| 22 window.open(loadTimeData.getString('devicesUrl')); | |
| 23 }, | |
| 24 }); | 19 }); |
| OLD | NEW |