| 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 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 5 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/audio/sounds.h" | 9 #include "ash/audio/sounds.h" |
| 10 #include "ash/desktop_background/desktop_background_controller.h" | 10 #include "ash/desktop_background/desktop_background_controller.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" | 47 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
| 48 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" | 48 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" |
| 49 #include "chrome/browser/chromeos/login/wizard_controller.h" | 49 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 50 #include "chrome/browser/chromeos/mobile_config.h" | 50 #include "chrome/browser/chromeos/mobile_config.h" |
| 51 #include "chrome/browser/chromeos/net/delay_network_call.h" | 51 #include "chrome/browser/chromeos/net/delay_network_call.h" |
| 52 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" | 52 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" |
| 53 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 53 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
| 54 #include "chrome/browser/chromeos/system/input_device_settings.h" | 54 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 55 #include "chrome/browser/chromeos/ui/focus_ring_controller.h" | 55 #include "chrome/browser/chromeos/ui/focus_ring_controller.h" |
| 56 #include "chrome/browser/lifetime/application_lifetime.h" | 56 #include "chrome/browser/lifetime/application_lifetime.h" |
| 57 #include "chrome/browser/profiles/profile_manager.h" |
| 57 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 58 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 58 #include "chrome/common/chrome_constants.h" | 59 #include "chrome/common/chrome_constants.h" |
| 59 #include "chrome/common/chrome_switches.h" | 60 #include "chrome/common/chrome_switches.h" |
| 60 #include "chrome/common/pref_names.h" | 61 #include "chrome/common/pref_names.h" |
| 61 #include "chrome/grit/browser_resources.h" | 62 #include "chrome/grit/browser_resources.h" |
| 62 #include "chromeos/audio/chromeos_sounds.h" | 63 #include "chromeos/audio/chromeos_sounds.h" |
| 63 #include "chromeos/chromeos_constants.h" | 64 #include "chromeos/chromeos_constants.h" |
| 64 #include "chromeos/chromeos_switches.h" | 65 #include "chromeos/chromeos_switches.h" |
| 65 #include "chromeos/dbus/dbus_thread_manager.h" | 66 #include "chromeos/dbus/dbus_thread_manager.h" |
| 66 #include "chromeos/dbus/session_manager_client.h" | 67 #include "chromeos/dbus/session_manager_client.h" |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1257 scoped_ptr<locale_util::SwitchLanguageCallback> callback( | 1258 scoped_ptr<locale_util::SwitchLanguageCallback> callback( |
| 1258 new locale_util::SwitchLanguageCallback( | 1259 new locale_util::SwitchLanguageCallback( |
| 1259 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass())))); | 1260 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass())))); |
| 1260 | 1261 |
| 1261 // Load locale keyboards here. Hardware layout would be automatically enabled. | 1262 // Load locale keyboards here. Hardware layout would be automatically enabled. |
| 1262 locale_util::SwitchLanguage( | 1263 locale_util::SwitchLanguage( |
| 1263 locale, true, true /* login_layouts_only */, callback.Pass()); | 1264 locale, true, true /* login_layouts_only */, callback.Pass()); |
| 1264 } | 1265 } |
| 1265 | 1266 |
| 1266 } // namespace chromeos | 1267 } // namespace chromeos |
| OLD | NEW |