| Index: chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js
|
| diff --git a/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js b/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..79521162e3e5dd10ceaf5c0420db2d865b5aaded
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * @fileoverview Polymer element for displaying material design reset
|
| + * confirmation overlay screen.
|
| + */
|
| +
|
| +Polymer({
|
| + is: 'reset-confirm-overlay-md',
|
| +
|
| + properties: {
|
| + isPowerwashView_: Boolean,
|
| + },
|
| +
|
| + /**
|
| + * On-tap event handler for continue button.
|
| + */
|
| + onContinueTap_: function() {
|
| + chrome.send('login.ResetScreen.userActed', ['powerwash-pressed']);
|
| + },
|
| +
|
| + /**
|
| + * On-tap event handler for cancel button.
|
| + */
|
| + onCancelTap_: function() {
|
| + chrome.send('login.ResetScreen.userActed', ['reset-confirm-dismissed']);
|
| + },
|
| +});
|
|
|