OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 Polymer element for displaying encryption migration screen. | 6 * @fileoverview Polymer element for displaying encryption migration screen. |
7 */ | 7 */ |
8 | 8 |
9 /** | 9 /** |
10 * Enum for the UI states corresponding to sub steps inside migration screen. | 10 * Enum for the UI states corresponding to sub steps inside migration screen. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 * @private | 209 * @private |
210 */ | 210 */ |
211 onSkip_: function() { | 211 onSkip_: function() { |
212 this.fire('skip'); | 212 this.fire('skip'); |
213 }, | 213 }, |
214 | 214 |
215 /** | 215 /** |
216 * Handles tap on RESTART button. | 216 * Handles tap on RESTART button. |
217 * @private | 217 * @private |
218 */ | 218 */ |
219 onRestart_: function() { | 219 onRestartOnLowStorage_: function() { |
220 this.fire('restart'); | 220 this.fire('restart-on-low-storage'); |
221 }, | 221 }, |
222 | 222 |
223 /** | 223 /** |
| 224 * Handles tap on RESTART button on the migration failure screen. |
| 225 * @private |
| 226 */ |
| 227 onRestartOnFailure_: function() { |
| 228 this.fire('restart-on-failure'); |
| 229 }, |
| 230 |
| 231 /** |
224 * Handles tap on REPORT AN ISSUE button. | 232 * Handles tap on REPORT AN ISSUE button. |
225 * @private | 233 * @private |
226 */ | 234 */ |
227 onReportAnIssue_: function() { | 235 onReportAnIssue_: function() { |
228 this.fire('openFeedbackDialog'); | 236 this.fire('openFeedbackDialog'); |
229 }, | 237 }, |
230 }); | 238 }); |
OLD | NEW |