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

Unified Diff: chrome/browser/ui/webui/signin/user_chooser_ui.h

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: clean up JS code 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/ui/webui/signin/user_chooser_ui.h
diff --git a/chrome/browser/ui/webui/signin/user_chooser_ui.h b/chrome/browser/ui/webui/signin/user_chooser_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..b1dd736247bca148dffaa5208551ce131723b91b
--- /dev/null
+++ b/chrome/browser/ui/webui/signin/user_chooser_ui.h
@@ -0,0 +1,33 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_
+
+#include "base/values.h"
Nikita (slow) 2013/06/11 18:43:28 nit: drop and forward declare instead
noms 2013/06/12 20:41:54 Done.
+#include "content/public/browser/web_ui_controller.h"
+
+class UserChooserScreenHandler;
+
+namespace content {
+class WebUIDataSource;
+}
+
+// A WebUI dialog to display available users
Nikita (slow) 2013/06/11 18:43:28 nit: Add dot at the end.
noms 2013/06/12 20:41:54 Done.
+class UserChooserUI : public content::WebUIController {
+ public:
+ explicit UserChooserUI(content::WebUI* web_ui);
+ virtual ~UserChooserUI();
+
+ private:
+ content::WebUIDataSource* CreateUIDataSource(
+ const base::DictionaryValue& localized_strings);
+ void GetLocalizedStrings(base::DictionaryValue* localized_strings);
+
+ UserChooserScreenHandler* user_chooser_screen_handler_;
+
+ DISALLOW_COPY_AND_ASSIGN(UserChooserUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_

Powered by Google App Engine
This is Rietveld 408576698