| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void HandleUserAction(const std::string& action_id); | 167 void HandleUserAction(const std::string& action_id); |
| 168 | 168 |
| 169 // Handles situation when screen context is changed. | 169 // Handles situation when screen context is changed. |
| 170 void HandleContextChanged(const base::DictionaryValue* diff); | 170 void HandleContextChanged(const base::DictionaryValue* diff); |
| 171 | 171 |
| 172 // Keeps whether page is ready. | 172 // Keeps whether page is ready. |
| 173 bool page_is_ready_; | 173 bool page_is_ready_; |
| 174 | 174 |
| 175 BaseScreen* base_screen_; | 175 BaseScreen* base_screen_; |
| 176 | 176 |
| 177 base::DictionaryValue* localized_values_; | |
| 178 | |
| 179 // Full name of the corresponding JS screen object. Can be empty, if | 177 // Full name of the corresponding JS screen object. Can be empty, if |
| 180 // there are no corresponding screen object or several different | 178 // there are no corresponding screen object or several different |
| 181 // objects. | 179 // objects. |
| 182 std::string js_screen_path_prefix_; | 180 std::string js_screen_path_prefix_; |
| 183 | 181 |
| 184 // The string id used in the async asset load in JS. If it is set to a | 182 // The string id used in the async asset load in JS. If it is set to a |
| 185 // non empty value, the Initialize will be deferred until the underlying load | 183 // non empty value, the Initialize will be deferred until the underlying load |
| 186 // is finished. | 184 // is finished. |
| 187 std::string async_assets_load_id_; | 185 std::string async_assets_load_id_; |
| 188 | 186 |
| 189 // Pending changes to context which will be sent when the page will be ready. | 187 // Pending changes to context which will be sent when the page will be ready. |
| 190 base::DictionaryValue pending_context_changes_; | 188 base::DictionaryValue pending_context_changes_; |
| 191 | 189 |
| 192 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler); | 190 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler); |
| 193 }; | 191 }; |
| 194 | 192 |
| 195 } // namespace chromeos | 193 } // namespace chromeos |
| 196 | 194 |
| 197 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ | 195 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ |
| OLD | NEW |