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

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

Issue 1426943011: MD Settings: Adding Powerwash dialog for ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reset_ui2_separate_element
Patch Set: rebase Created 5 years, 1 month 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
(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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698