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/30 21:51:25
chromeos screen locker doesn't use TextfieldViews.
James Su
2011/03/30 22:46:39
I think we can remove this piece of code if we are
|
+ |
g_signal_connect(lock_window_->GetNativeView(), "client-event", |
G_CALLBACK(OnClientEventThunk), this); |