Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2669)

Unified Diff: chrome/browser/resources/user_chooser/user_chooser.js

Issue 16104008: First try at a user management screen for the desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
Nikita (slow) 2013/06/14 16:51:35 Move this include to html file.
+
+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);

Powered by Google App Engine
This is Rietveld 408576698