Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: chrome/browser/resources/settings/reset_page/reset_profile_banner.js

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698