| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 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 | 6 * @fileoverview |
| 7 * @suppress {globalThis|missingProperties} | 7 * @suppress {globalThis|missingProperties} |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: "passphrase-dialog", | 11 is: "passphrase-dialog", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 33 }.bind(this)); | 33 }.bind(this)); |
| 34 | 34 |
| 35 // Show the window once ready. Not available for tests. | 35 // Show the window once ready. Not available for tests. |
| 36 if (chrome.app && chrome.app.window) | 36 if (chrome.app && chrome.app.window) |
| 37 chrome.app.window.current().show(); | 37 chrome.app.window.current().show(); |
| 38 | 38 |
| 39 if (window.onEverythingLoaded) | 39 if (window.onEverythingLoaded) |
| 40 window.onEverythingLoaded(); | 40 window.onEverythingLoaded(); |
| 41 } | 41 } |
| 42 }); | 42 }); |
| OLD | NEW |