Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_ | |
| 7 | |
| 8 #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.
| |
| 9 #include "content/public/browser/web_ui_controller.h" | |
| 10 | |
| 11 class UserChooserScreenHandler; | |
| 12 | |
| 13 namespace content { | |
| 14 class WebUIDataSource; | |
| 15 } | |
| 16 | |
| 17 // 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.
| |
| 18 class UserChooserUI : public content::WebUIController { | |
| 19 public: | |
| 20 explicit UserChooserUI(content::WebUI* web_ui); | |
| 21 virtual ~UserChooserUI(); | |
| 22 | |
| 23 private: | |
| 24 content::WebUIDataSource* CreateUIDataSource( | |
| 25 const base::DictionaryValue& localized_strings); | |
| 26 void GetLocalizedStrings(base::DictionaryValue* localized_strings); | |
| 27 | |
| 28 UserChooserScreenHandler* user_chooser_screen_handler_; | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(UserChooserUI); | |
| 31 }; | |
| 32 | |
| 33 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_CHOOSER_UI_H_ | |
| OLD | NEW |