OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 | 6 * @fileoverview |
7 * 'settings-reset-profile-banner' is the banner shown for propmting the user to | 7 * 'settings-reset-profile-banner' is the banner shown for propmting the user to |
8 * clear profile settings. | 8 * clear profile settings. |
9 */ | 9 */ |
10 Polymer({ | 10 Polymer({ |
(...skipping 15 matching lines...) Expand all Loading... |
26 }, | 26 }, |
27 | 27 |
28 /** @private */ | 28 /** @private */ |
29 onCancel_: function() { | 29 onCancel_: function() { |
30 settings.ResetBrowserProxyImpl.getInstance().onHideResetProfileBanner(); | 30 settings.ResetBrowserProxyImpl.getInstance().onHideResetProfileBanner(); |
31 }, | 31 }, |
32 | 32 |
33 /** @private */ | 33 /** @private */ |
34 onResetTap_: function() { | 34 onResetTap_: function() { |
35 this.$.dialog.close(); | 35 this.$.dialog.close(); |
36 settings.navigateTo(settings.Route.RESET_DIALOG); | 36 settings.navigateTo(settings.routes.RESET_DIALOG); |
37 }, | 37 }, |
38 }); | 38 }); |
OLD | NEW |