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"> | |
10 | |
11 cr.define('inline.login', function() { | 9 cr.define('inline.login', function() { |
12 'use strict'; | 10 'use strict'; |
13 | 11 |
14 /** | 12 /** |
15 * The auth extension host instance. | 13 * The auth extension host instance. |
16 * @type {Object} | 14 * @type {Object} |
17 */ | 15 */ |
18 var authExtHost; | 16 var authExtHost; |
19 | 17 |
20 /** | 18 /** |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 getAuthExtHost: getAuthExtHost, | 92 getAuthExtHost: getAuthExtHost, |
95 isAuthReady: isAuthReady, | 93 isAuthReady: isAuthReady, |
96 initialize: initialize, | 94 initialize: initialize, |
97 loadAuthExtension: loadAuthExtension, | 95 loadAuthExtension: loadAuthExtension, |
98 closeDialog: closeDialog, | 96 closeDialog: closeDialog, |
99 handleOAuth2TokenFailure: handleOAuth2TokenFailure | 97 handleOAuth2TokenFailure: handleOAuth2TokenFailure |
100 }; | 98 }; |
101 }); | 99 }); |
102 | 100 |
103 document.addEventListener('DOMContentLoaded', inline.login.initialize); | 101 document.addEventListener('DOMContentLoaded', inline.login.initialize); |
OLD | NEW |