| Index: views/ime/input_method_win.cc
|
| diff --git a/views/ime/input_method_win.cc b/views/ime/input_method_win.cc
|
| index f720f0591964f5fc2eb5945147f1af3a7e026549..1811773c75a2b3f71c38f94ab439a4d5eda835f8 100644
|
| --- a/views/ime/input_method_win.cc
|
| +++ b/views/ime/input_method_win.cc
|
| @@ -12,11 +12,10 @@
|
|
|
| namespace views {
|
|
|
| -InputMethodWin::InputMethodWin(internal::InputMethodDelegate* delegate)
|
| +InputMethodWin::InputMethodWin()
|
| : active_(false),
|
| direction_(base::i18n::UNKNOWN_DIRECTION),
|
| pending_requested_direction_(base::i18n::UNKNOWN_DIRECTION) {
|
| - set_delegate(delegate);
|
| }
|
|
|
| InputMethodWin::~InputMethodWin() {
|
| @@ -43,7 +42,7 @@ void InputMethodWin::OnBlur() {
|
| InputMethodBase::OnBlur();
|
| }
|
|
|
| -void InputMethodWin::DispatchKeyEvent(const KeyEvent& key) {
|
| +bool InputMethodWin::OnKeyEvent(const KeyEvent& key) {
|
| // Handles ctrl-shift key to change text direction and layout alignment.
|
| if (ui::ImeInput::IsRTLKeyboardLayoutInstalled() && !IsTextInputTypeNone()) {
|
| ui::KeyboardCode code = key.key_code();
|
| @@ -63,8 +62,7 @@ void InputMethodWin::DispatchKeyEvent(const KeyEvent& key) {
|
| pending_requested_direction_ = base::i18n::UNKNOWN_DIRECTION;
|
| }
|
| }
|
| -
|
| - DispatchKeyEventPostIME(key);
|
| + return false;
|
| }
|
|
|
| void InputMethodWin::OnTextInputTypeChanged(View* view) {
|
|
|