OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREEN_H
ANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREEN_H
ANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREEN_H
ANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREEN_H
ANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const base::string16& button_text); | 87 const base::string16& button_text); |
88 | 88 |
89 // Navigates to specified page. | 89 // Navigates to specified page. |
90 void ShowPage(const std::string& page); | 90 void ShowPage(const std::string& page); |
91 | 91 |
92 void SetCameraPresent(bool enabled); | 92 void SetCameraPresent(bool enabled); |
93 | 93 |
94 void ShowExistingSupervisedUsers(const base::ListValue* users); | 94 void ShowExistingSupervisedUsers(const base::ListValue* users); |
95 | 95 |
96 // BaseScreenHandler implementation: | 96 // BaseScreenHandler implementation: |
97 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; | 97 void DeclareLocalizedValues( |
| 98 ::login::LocalizedValuesBuilder* builder) override; |
98 void Initialize() override; | 99 void Initialize() override; |
99 | 100 |
100 // WebUIMessageHandler implementation: | 101 // WebUIMessageHandler implementation: |
101 void RegisterMessages() override; | 102 void RegisterMessages() override; |
102 | 103 |
103 private: | 104 private: |
104 // WebUI message handlers. | 105 // WebUI message handlers. |
105 void HandleCheckSupervisedUserName(const base::string16& name); | 106 void HandleCheckSupervisedUserName(const base::string16& name); |
106 | 107 |
107 void HandleManagerSelected(const std::string& manager_id); | 108 void HandleManagerSelected(const std::string& manager_id); |
(...skipping 22 matching lines...) Expand all Loading... |
130 void UpdateText(const std::string& element_id, const base::string16& text); | 131 void UpdateText(const std::string& element_id, const base::string16& text); |
131 | 132 |
132 Delegate* delegate_; | 133 Delegate* delegate_; |
133 | 134 |
134 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreenHandler); | 135 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreenHandler); |
135 }; | 136 }; |
136 | 137 |
137 } // namespace chromeos | 138 } // namespace chromeos |
138 | 139 |
139 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREE
N_HANDLER_H_ | 140 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREE
N_HANDLER_H_ |
OLD | NEW |