Chromium Code Reviews| 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..3da9622df5ef7f646518bad6d55f9e056de138d1 |
| --- /dev/null |
| +++ b/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
jdufault
2017/04/06 01:04:52
nit: 2017
Wenzhao (Colin) Zang
2017/04/07 02:55:36
Done.
|
| +// 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. |
| + */ |
| + onContinueClicked_: function() { |
| + chrome.send('login.ResetScreen.userActed', ['powerwash-pressed']); |
| + }, |
| + |
| + /** |
| + * On-tap event handler for cancel button. |
| + */ |
| + onCancelClicked_: function() { |
| + chrome.send('login.ResetScreen.userActed', ['reset-confirm-dismissed']); |
| + }, |
| +}); |