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

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: fix linux CrOS browser test Created 7 years, 5 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..5c0b36a4caed37c207a5345bdd02f7cf0f16fcd2
--- /dev/null
+++ b/chrome/browser/ui/webui/signin/user_chooser_ui.h
@@ -0,0 +1,35 @@
+// 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 "content/public/browser/web_ui_controller.h"
+
+class UserChooserScreenHandler;
+
+namespace base {
+class DictionaryValue;
+}
+namespace content {
+class WebUIDataSource;
+}
+
+// A WebUI dialog to display available users.
+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_
« no previous file with comments | « chrome/browser/ui/webui/signin/user_chooser_screen_handler.cc ('k') | chrome/browser/ui/webui/signin/user_chooser_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698