OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 Inline login UI. | 6 * @fileoverview Inline login UI. |
7 */ | 7 */ |
8 | 8 |
9 <include src="../gaia_auth_host/gaia_auth_host.js"></include> | 9 <include src="../gaia_auth_host/gaia_auth_host.js"> |
10 | 10 |
11 cr.define('inline.login', function() { | 11 cr.define('inline.login', function() { |
12 'use strict'; | 12 'use strict'; |
13 | 13 |
14 /** | 14 /** |
15 * The auth extension host instance. | 15 * The auth extension host instance. |
16 * @type {Object} | 16 * @type {Object} |
17 */ | 17 */ |
18 var authExtHost; | 18 var authExtHost; |
19 | 19 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 getAuthExtHost: getAuthExtHost, | 94 getAuthExtHost: getAuthExtHost, |
95 isAuthReady: isAuthReady, | 95 isAuthReady: isAuthReady, |
96 initialize: initialize, | 96 initialize: initialize, |
97 loadAuthExtension: loadAuthExtension, | 97 loadAuthExtension: loadAuthExtension, |
98 closeDialog: closeDialog, | 98 closeDialog: closeDialog, |
99 handleOAuth2TokenFailure: handleOAuth2TokenFailure | 99 handleOAuth2TokenFailure: handleOAuth2TokenFailure |
100 }; | 100 }; |
101 }); | 101 }); |
102 | 102 |
103 document.addEventListener('DOMContentLoaded', inline.login.initialize); | 103 document.addEventListener('DOMContentLoaded', inline.login.initialize); |
OLD | NEW |