Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: chrome/browser/chromeos/login/user_manager.cc

Issue 2836085: Shutdown ibus when logging in. (Closed)
Patch Set: Code Review Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698