Chromium Code Reviews| 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_ |