Chromium Code Reviews| Index: third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
| diff --git a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
| index 185a0664514f3bcd94012ca3f4ed2f39c5f549e5..49c6d0b13a2b06180d718245deb200ba586b4b6f 100644 |
| --- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
| +++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
| @@ -162,6 +162,11 @@ void KeyboardEventManager::defaultKeyboardEventHandler( |
| m_frame->editor().handleKeyboardEvent(event); |
| if (event->defaultHandled()) |
| return; |
| + |
| + // Do not perform the default action when inside a IME composition context. |
| + // TODO(dtapuska): Replace this with isComposing support. crbug.com/625686 |
| + if (event->keyCode() == 229) |
|
bokan
2016/07/04 22:52:06
Does this keyCode have a name of some kind that we
|
| + return; |
| if (event->key() == "Tab") { |
| defaultTabEventHandler(event); |
| } else if (event->key() == "Backspace") { |