| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @fileoverview |
| 7 * 'settings-reset-page' is the settings page containing reset |
| 8 * settings. |
| 9 * |
| 10 * @group Chrome Settings Elements |
| 11 * @element settings-reset-page |
| 12 */ |
| 13 Polymer({ |
| 14 is: 'settings-powerwash-dialog', |
| 15 |
| 16 open: function() { |
| 17 this.$.dialog.open(); |
| 18 }, |
| 19 |
| 20 /** @private */ |
| 21 onCancelTap_: function() { |
| 22 this.$.dialog.close(); |
| 23 }, |
| 24 |
| 25 /** @private */ |
| 26 onRestartTap_: function() { |
| 27 this.$.dialog.close(); |
| 28 }, |
| 29 |
| 30 /** @private */ |
| 31 onLearnMoreTap_: function() { |
| 32 window.open(loadTimeData.getString('powerwashLearnMoreUrl')); |
| 33 }, |
| 34 }); |
| OLD | NEW |