Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| index bae3cea1d0ff453dbdafaf3f688cb67b036bec9d..98b9fb9a4f82c363f17df710d43b93b9b55a5cb6 100644 |
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| @@ -1193,6 +1193,11 @@ WebTextInputType InputMethodController::textInputType() const { |
| return WebTextInputTypeNone; |
| } |
| +void InputMethodController::willChangeFocusTo(Element* newElement) { |
|
yosin_UTC9
2016/12/07 09:38:19
Q: Do we need to take |newElement|? It can be in a
Changwan Ryu
2016/12/08 01:16:29
Removed this parameter for now.
|
| + if (finishComposingText(DoNotKeepSelection)) |
|
yosin_UTC9
2016/12/07 09:38:19
nit: Could you make early return style?
if (!fini
Changwan Ryu
2016/12/08 01:16:30
Done
|
| + frame().chromeClient().resetInputMethod(); |
| +} |
| + |
| DEFINE_TRACE(InputMethodController) { |
| visitor->trace(m_frame); |
| visitor->trace(m_compositionRange); |