| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual void OnPhotoTaken(const std::string& raw_data) = 0; | 62 virtual void OnPhotoTaken(const std::string& raw_data) = 0; |
| 63 virtual void OnImageSelected(const std::string& image_url, | 63 virtual void OnImageSelected(const std::string& image_url, |
| 64 const std::string& image_type) = 0; | 64 const std::string& image_type) = 0; |
| 65 virtual void OnImageAccepted() = 0; | 65 virtual void OnImageAccepted() = 0; |
| 66 virtual void OnPageSelected(const std::string& page) = 0; | 66 virtual void OnPageSelected(const std::string& page) = 0; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 SupervisedUserCreationScreenHandler(); | 69 SupervisedUserCreationScreenHandler(); |
| 70 ~SupervisedUserCreationScreenHandler() override; | 70 ~SupervisedUserCreationScreenHandler() override; |
| 71 | 71 |
| 72 virtual void PrepareToShow(); | |
| 73 virtual void Show(); | 72 virtual void Show(); |
| 74 virtual void Hide(); | 73 virtual void Hide(); |
| 75 virtual void SetDelegate(Delegate* delegate); | 74 virtual void SetDelegate(Delegate* delegate); |
| 76 | 75 |
| 77 void ShowManagerPasswordError(); | 76 void ShowManagerPasswordError(); |
| 78 | 77 |
| 79 void ShowIntroPage(); | 78 void ShowIntroPage(); |
| 80 void ShowUsernamePage(); | 79 void ShowUsernamePage(); |
| 81 | 80 |
| 82 // Shows progress or error message close in the button area. |is_progress| is | 81 // Shows progress or error message close in the button area. |is_progress| is |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void UpdateText(const std::string& element_id, const base::string16& text); | 133 void UpdateText(const std::string& element_id, const base::string16& text); |
| 135 | 134 |
| 136 Delegate* delegate_; | 135 Delegate* delegate_; |
| 137 | 136 |
| 138 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreenHandler); | 137 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreenHandler); |
| 139 }; | 138 }; |
| 140 | 139 |
| 141 } // namespace chromeos | 140 } // namespace chromeos |
| 142 | 141 |
| 143 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREE
N_HANDLER_H_ | 142 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SUPERVISED_USER_CREATION_SCREE
N_HANDLER_H_ |
| OLD | NEW |