| 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" |
| 11 #include "ash/desktop_background/user_wallpaper_delegate.h" | 11 #include "ash/desktop_background/user_wallpaper_delegate.h" |
| 12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 13 #include "ash/shell_window_ids.h" | 13 #include "ash/shell_window_ids.h" |
| 14 #include "base/bind.h" | 14 #include "base/bind.h" |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/debug/trace_event.h" | |
| 17 #include "base/logging.h" | 16 #include "base/logging.h" |
| 18 #include "base/prefs/pref_service.h" | 17 #include "base/prefs/pref_service.h" |
| 19 #include "base/strings/string_split.h" | 18 #include "base/strings/string_split.h" |
| 20 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
| 21 #include "base/threading/thread_restrictions.h" | 20 #include "base/threading/thread_restrictions.h" |
| 22 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 22 #include "base/trace_event/trace_event.h" |
| 23 #include "chrome/browser/browser_process.h" | 23 #include "chrome/browser/browser_process.h" |
| 24 #include "chrome/browser/browser_shutdown.h" | 24 #include "chrome/browser/browser_shutdown.h" |
| 25 #include "chrome/browser/chrome_notification_types.h" | 25 #include "chrome/browser/chrome_notification_types.h" |
| 26 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 26 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 27 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 27 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
| 28 #include "chrome/browser/chromeos/base/locale_util.h" | 28 #include "chrome/browser/chromeos/base/locale_util.h" |
| 29 #include "chrome/browser/chromeos/boot_times_recorder.h" | 29 #include "chrome/browser/chromeos/boot_times_recorder.h" |
| 30 #include "chrome/browser/chromeos/first_run/drive_first_run_controller.h" | 30 #include "chrome/browser/chromeos/first_run/drive_first_run_controller.h" |
| 31 #include "chrome/browser/chromeos/first_run/first_run.h" | 31 #include "chrome/browser/chromeos/first_run/first_run.h" |
| 32 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 32 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| (...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 | 1206 |
| 1207 locale_util::SwitchLanguageCallback callback( | 1207 locale_util::SwitchLanguageCallback callback( |
| 1208 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass()))); | 1208 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass()))); |
| 1209 | 1209 |
| 1210 // Load locale keyboards here. Hardware layout would be automatically enabled. | 1210 // Load locale keyboards here. Hardware layout would be automatically enabled. |
| 1211 locale_util::SwitchLanguage( | 1211 locale_util::SwitchLanguage( |
| 1212 locale, true, true /* login_layouts_only */, callback); | 1212 locale, true, true /* login_layouts_only */, callback); |
| 1213 } | 1213 } |
| 1214 | 1214 |
| 1215 } // namespace chromeos | 1215 } // namespace chromeos |
| OLD | NEW |