- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / webui / signin / user_manager_ui.h
1 // Copyright 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_MANAGER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
7
8 #include "content/public/browser/web_ui_controller.h"
9
10 class UserManagerScreenHandler;
11
12 namespace base {
13 class DictionaryValue;
14 }
15 namespace content {
16 class WebUIDataSource;
17 }
18
19 // A WebUI dialog to display available users.
20 class UserManagerUI : public content::WebUIController {
21  public:
22   explicit UserManagerUI(content::WebUI* web_ui);
23   virtual ~UserManagerUI();
24
25  private:
26   content::WebUIDataSource* CreateUIDataSource(
27       const base::DictionaryValue& localized_strings);
28   void GetLocalizedStrings(base::DictionaryValue* localized_strings);
29
30   UserManagerScreenHandler* user_manager_screen_handler_;
31
32   DISALLOW_COPY_AND_ASSIGN(UserManagerUI);
33 };
34
35 #endif  // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_