OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/user_manager.h" | 5 #include "chrome/browser/chromeos/login/user_manager.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 } | 245 } |
246 | 246 |
247 void UserManager::NotifyOnLogin() { | 247 void UserManager::NotifyOnLogin() { |
248 NotificationService::current()->Notify( | 248 NotificationService::current()->Notify( |
249 NotificationType::LOGIN_USER_CHANGED, | 249 NotificationType::LOGIN_USER_CHANGED, |
250 Source<UserManager>(this), | 250 Source<UserManager>(this), |
251 Details<const User>(&logged_in_user_)); | 251 Details<const User>(&logged_in_user_)); |
252 | 252 |
253 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()-> | 253 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()-> |
254 SetDeferImeStartup(false); | 254 SetDeferImeStartup(false); |
| 255 // Shut down the IME so that it will reload the user's settings. |
| 256 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()-> |
| 257 StopInputMethodProcesses(); |
255 // Let the window manager know that we're logged in now. | 258 // Let the window manager know that we're logged in now. |
256 WmIpc::instance()->SetLoggedInProperty(true); | 259 WmIpc::instance()->SetLoggedInProperty(true); |
257 } | 260 } |
258 | 261 |
259 } // namespace chromeos | 262 } // namespace chromeos |
OLD | NEW |