Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // 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.
| |
| 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 Polymer element for displaying material design reset | |
| 7 * confirmation overlay screen. | |
| 8 */ | |
| 9 | |
| 10 Polymer({ | |
| 11 is: 'reset-confirm-overlay-md', | |
| 12 | |
| 13 properties: { | |
| 14 isPowerwashView_: Boolean, | |
| 15 }, | |
| 16 | |
| 17 /** | |
| 18 * On-tap event handler for continue button. | |
| 19 */ | |
| 20 onContinueClicked_: function() { | |
| 21 chrome.send('login.ResetScreen.userActed', ['powerwash-pressed']); | |
| 22 }, | |
| 23 | |
| 24 /** | |
| 25 * On-tap event handler for cancel button. | |
| 26 */ | |
| 27 onCancelClicked_: function() { | |
| 28 chrome.send('login.ResetScreen.userActed', ['reset-confirm-dismissed']); | |
| 29 }, | |
| 30 }); | |
| OLD | NEW |