| 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..59ee1921e92970ad62758ddce2607bd000834750 100644
|
| --- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
|
| +++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
|
| @@ -24,6 +24,8 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| +const int kVKeyProcessKey = 229;
|
| +
|
| WebFocusType focusDirectionForKey(const String& key)
|
| {
|
| WebFocusType retVal = WebFocusTypeNone;
|
| @@ -162,6 +164,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() == kVKeyProcessKey)
|
| + return;
|
| if (event->key() == "Tab") {
|
| defaultTabEventHandler(event);
|
| } else if (event->key() == "Backspace") {
|
|
|