OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 public NetworkStateInformer::NetworkStateInformerObserver, | 224 public NetworkStateInformer::NetworkStateInformerObserver, |
225 public PowerManagerClient::Observer, | 225 public PowerManagerClient::Observer, |
226 public input_method::ImeKeyboard::Observer, | 226 public input_method::ImeKeyboard::Observer, |
227 public ash::mojom::TouchViewObserver, | 227 public ash::mojom::TouchViewObserver, |
228 public OobeUI::Observer { | 228 public OobeUI::Observer { |
229 public: | 229 public: |
230 SigninScreenHandler( | 230 SigninScreenHandler( |
231 const scoped_refptr<NetworkStateInformer>& network_state_informer, | 231 const scoped_refptr<NetworkStateInformer>& network_state_informer, |
232 ErrorScreen* error_screen, | 232 ErrorScreen* error_screen, |
233 CoreOobeView* core_oobe_view, | 233 CoreOobeView* core_oobe_view, |
234 GaiaScreenHandler* gaia_screen_handler); | 234 GaiaScreenHandler* gaia_screen_handler, |
| 235 JSCallsContainer* js_calls_container); |
235 ~SigninScreenHandler() override; | 236 ~SigninScreenHandler() override; |
236 | 237 |
237 static std::string GetUserLRUInputMethod(const std::string& username); | 238 static std::string GetUserLRUInputMethod(const std::string& username); |
238 | 239 |
239 // Update current input method (namely keyboard layout) in the given IME state | 240 // Update current input method (namely keyboard layout) in the given IME state |
240 // to LRU by this user. | 241 // to LRU by this user. |
241 static void SetUserInputMethod( | 242 static void SetUserInputMethod( |
242 const std::string& username, | 243 const std::string& username, |
243 input_method::InputMethodManager::State* ime_state); | 244 input_method::InputMethodManager::State* ime_state); |
244 | 245 |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 std::unique_ptr<AccountId> focused_pod_account_id_; | 535 std::unique_ptr<AccountId> focused_pod_account_id_; |
535 | 536 |
536 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 537 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
537 | 538 |
538 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 539 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
539 }; | 540 }; |
540 | 541 |
541 } // namespace chromeos | 542 } // namespace chromeos |
542 | 543 |
543 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 544 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |