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_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 private: | 127 private: |
128 void ApplyPicture(); | 128 void ApplyPicture(); |
129 void OnGetSupervisedUsers(const base::DictionaryValue* users); | 129 void OnGetSupervisedUsers(const base::DictionaryValue* users); |
130 | 130 |
131 SupervisedUserCreationScreenHandler* actor_; | 131 SupervisedUserCreationScreenHandler* actor_; |
132 | 132 |
133 scoped_ptr<SupervisedUserCreationController> controller_; | 133 scoped_ptr<SupervisedUserCreationController> controller_; |
134 scoped_ptr<base::DictionaryValue> existing_users_; | 134 scoped_ptr<base::DictionaryValue> existing_users_; |
135 | 135 |
136 bool on_error_screen_; | 136 bool on_error_screen_; |
| 137 bool manager_signin_in_progress_; |
137 std::string last_page_; | 138 std::string last_page_; |
138 | 139 |
139 SupervisedUserSyncService* sync_service_; | 140 SupervisedUserSyncService* sync_service_; |
140 | 141 |
141 gfx::ImageSkia user_photo_; | 142 gfx::ImageSkia user_photo_; |
142 scoped_refptr<ImageDecoder> image_decoder_; | 143 scoped_refptr<ImageDecoder> image_decoder_; |
143 bool apply_photo_after_decoding_; | 144 bool apply_photo_after_decoding_; |
144 int selected_image_; | 145 int selected_image_; |
145 | 146 |
146 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; | 147 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); | 149 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace chromeos | 152 } // namespace chromeos |
152 | 153 |
153 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ | 154 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ |
154 | 155 |
OLD | NEW |