| 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 "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 52 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 53 #include "chrome/common/chrome_constants.h" | 53 #include "chrome/common/chrome_constants.h" |
| 54 #include "chrome/common/chrome_switches.h" | 54 #include "chrome/common/chrome_switches.h" |
| 55 #include "chrome/common/pref_names.h" | 55 #include "chrome/common/pref_names.h" |
| 56 #include "chrome/grit/browser_resources.h" | 56 #include "chrome/grit/browser_resources.h" |
| 57 #include "chromeos/audio/chromeos_sounds.h" | 57 #include "chromeos/audio/chromeos_sounds.h" |
| 58 #include "chromeos/chromeos_constants.h" | 58 #include "chromeos/chromeos_constants.h" |
| 59 #include "chromeos/chromeos_switches.h" | 59 #include "chromeos/chromeos_switches.h" |
| 60 #include "chromeos/dbus/dbus_thread_manager.h" | 60 #include "chromeos/dbus/dbus_thread_manager.h" |
| 61 #include "chromeos/dbus/session_manager_client.h" | 61 #include "chromeos/dbus/session_manager_client.h" |
| 62 #include "chromeos/ime/extension_ime_util.h" | |
| 63 #include "chromeos/ime/input_method_manager.h" | |
| 64 #include "chromeos/login/login_state.h" | 62 #include "chromeos/login/login_state.h" |
| 65 #include "chromeos/settings/timezone_settings.h" | 63 #include "chromeos/settings/timezone_settings.h" |
| 66 #include "components/session_manager/core/session_manager.h" | 64 #include "components/session_manager/core/session_manager.h" |
| 67 #include "components/user_manager/user_manager.h" | 65 #include "components/user_manager/user_manager.h" |
| 68 #include "content/public/browser/notification_service.h" | 66 #include "content/public/browser/notification_service.h" |
| 69 #include "content/public/browser/notification_types.h" | 67 #include "content/public/browser/notification_types.h" |
| 70 #include "content/public/browser/web_contents.h" | 68 #include "content/public/browser/web_contents.h" |
| 71 #include "content/public/browser/web_ui.h" | 69 #include "content/public/browser/web_ui.h" |
| 72 #include "media/audio/sounds/sounds_manager.h" | 70 #include "media/audio/sounds/sounds_manager.h" |
| 73 #include "ui/aura/window.h" | 71 #include "ui/aura/window.h" |
| 74 #include "ui/base/resource/resource_bundle.h" | 72 #include "ui/base/resource/resource_bundle.h" |
| 75 #include "ui/base/ui_base_switches_util.h" | 73 #include "ui/base/ui_base_switches_util.h" |
| 74 #include "ui/chromeos/ime/extension_ime_util.h" |
| 75 #include "ui/chromeos/ime/input_method_manager.h" |
| 76 #include "ui/compositor/layer.h" | 76 #include "ui/compositor/layer.h" |
| 77 #include "ui/compositor/layer_animation_observer.h" | 77 #include "ui/compositor/layer_animation_observer.h" |
| 78 #include "ui/compositor/scoped_layer_animation_settings.h" | 78 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 79 #include "ui/events/event_utils.h" | 79 #include "ui/events/event_utils.h" |
| 80 #include "ui/gfx/display.h" | 80 #include "ui/gfx/display.h" |
| 81 #include "ui/gfx/rect.h" | 81 #include "ui/gfx/rect.h" |
| 82 #include "ui/gfx/screen.h" | 82 #include "ui/gfx/screen.h" |
| 83 #include "ui/gfx/size.h" | 83 #include "ui/gfx/size.h" |
| 84 #include "ui/gfx/transform.h" | 84 #include "ui/gfx/transform.h" |
| 85 #include "ui/keyboard/keyboard_controller.h" | 85 #include "ui/keyboard/keyboard_controller.h" |
| (...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 | 1315 |
| 1316 locale_util::SwitchLanguageCallback callback( | 1316 locale_util::SwitchLanguageCallback callback( |
| 1317 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass()))); | 1317 base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass()))); |
| 1318 | 1318 |
| 1319 // Load locale keyboards here. Hardware layout would be automatically enabled. | 1319 // Load locale keyboards here. Hardware layout would be automatically enabled. |
| 1320 locale_util::SwitchLanguage( | 1320 locale_util::SwitchLanguage( |
| 1321 locale, true, true /* login_layouts_only */, callback); | 1321 locale, true, true /* login_layouts_only */, callback); |
| 1322 } | 1322 } |
| 1323 | 1323 |
| 1324 } // namespace chromeos | 1324 } // namespace chromeos |
| OLD | NEW |