| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index e702d8156f4ef366a7a13832a6a2f6287b3935bf..bc6bc8c0251ee0248df540781a49d2797eca4686 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1214,6 +1214,16 @@ void WebLocalFrameImpl::extendSelectionAndDelete(int before, int after)
|
| frame()->inputMethodController().extendSelectionAndDelete(before, after);
|
| }
|
|
|
| +void WebLocalFrameImpl::deleteSurroundingText(int before, int after)
|
| +{
|
| + TRACE_EVENT0("blink", "WebLocalFrameImpl::deleteSurroundingText");
|
| + if (WebPlugin* plugin = focusedPluginIfInputMethodSupported()) {
|
| + plugin->deleteSurroundingText(before, after);
|
| + return;
|
| + }
|
| + frame()->inputMethodController().deleteSurroundingText(before, after);
|
| +}
|
| +
|
| void WebLocalFrameImpl::setCaretVisible(bool visible)
|
| {
|
| frame()->selection().setCaretVisible(visible);
|
|
|