| 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 0192b1163ad818a96b3c1bd865524b0bc543a0f4..4fd83e59e527edac23799d030f8d3bfd272c294e 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1221,6 +1221,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);
|
|
|