Index: chrome/browser/chromeos/login/screen_locker.cc |
diff --git a/chrome/browser/chromeos/login/screen_locker.cc b/chrome/browser/chromeos/login/screen_locker.cc |
index 9c0530e89a68d068db516b06bb2e267c3869a1ea..c36bdd87a7990e0a62f9fb69bdbfeb8c6a323fcb 100644 |
--- a/chrome/browser/chromeos/login/screen_locker.cc |
+++ b/chrome/browser/chromeos/login/screen_locker.cc |
@@ -693,6 +693,11 @@ void ScreenLocker::Init() { |
lock_window_ = lock_window; |
lock_window_->Init(NULL, init_bounds); |
+ // Disables input method explicitly, because: |
+ // 1. Input method only works when top-level Widget gets keyboard focus. |
+ // 2. Screen Locker shouldn't allow the user to use input method. |
+ lock_window_->native_widget()->ReplaceInputMethod(NULL); |
oshima
2011/03/24 22:58:47
Two q:
1) I assume we'll not use new API for exist
James Su
2011/03/25 05:57:21
Yes, I guess so. As long as we are not going to us
oshima
2011/03/25 17:31:25
I think new API is needed regardless. Improvement
|
+ |
g_signal_connect(lock_window_->GetNativeView(), "client-event", |
G_CALLBACK(OnClientEventThunk), this); |