| Index: chrome/browser/resources/user_chooser/user_chooser.js
|
| diff --git a/chrome/browser/resources/user_chooser/user_chooser.js b/chrome/browser/resources/user_chooser/user_chooser.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9d21905d958a0a218bcacb9c2bbf741fe56fadc9
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/user_chooser/user_chooser.js
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +<include src="user_chooser_common.js"></include>
|
| +
|
| +cr.define('UserChooser', function() {
|
| + 'use strict';
|
| +
|
| + function initialize() {
|
| + login.AccountPickerScreen.register();
|
| + cr.ui.Bubble.decorate($('bubble'));
|
| + login.HeaderBar.decorate($('login-header-bar'));
|
| + chrome.send('userChooserInitialize');
|
| + }
|
| +
|
| + // Return an object with all of the exports.
|
| + return {
|
| + initialize: initialize
|
| + };
|
| +});
|
| +
|
| +document.addEventListener('DOMContentLoaded', UserChooser.initialize);
|
|
|