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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/supervised_user_creation_screen_handler.h

Issue 878253002: LocalizedValuesBuilder moved to components/login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on 'base'. Created 5 years, 10 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 unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698