| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 9bbc57e15937f157cf554080c4cbd57548f8581a..f169cdccb06b52d4dac8a51dce2eee729ee9e66d 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2237,34 +2237,6 @@ bool WebViewImpl::isSelectionAnchorFirst() const
|
| return false;
|
| }
|
|
|
| -bool WebViewImpl::setEditableSelectionOffsets(int start, int end)
|
| -{
|
| - const LocalFrame* focused = focusedWebCoreFrame();
|
| - if (!focused)
|
| - return false;
|
| - return focused->inputMethodController().setEditableSelectionOffsets(PlainTextRange(start, end));
|
| -}
|
| -
|
| -bool WebViewImpl::setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVector<WebCompositionUnderline>& underlines)
|
| -{
|
| - const LocalFrame* focused = focusedWebCoreFrame();
|
| - if (!focused)
|
| - return false;
|
| -
|
| - if (!focused->editor().canEdit())
|
| - return false;
|
| -
|
| - InputMethodController& inputMethodController = focused->inputMethodController();
|
| - inputMethodController.cancelComposition();
|
| -
|
| - if (compositionStart == compositionEnd)
|
| - return true;
|
| -
|
| - inputMethodController.setCompositionFromExistingText(CompositionUnderlineVectorBuilder(underlines), compositionStart, compositionEnd);
|
| -
|
| - return true;
|
| -}
|
| -
|
| WebVector<WebCompositionUnderline> WebViewImpl::compositionUnderlines() const
|
| {
|
| const LocalFrame* focused = focusedWebCoreFrame();
|
| @@ -2279,18 +2251,6 @@ WebVector<WebCompositionUnderline> WebViewImpl::compositionUnderlines() const
|
| return results;
|
| }
|
|
|
| -void WebViewImpl::extendSelectionAndDelete(int before, int after)
|
| -{
|
| - LocalFrame* focused = focusedWebCoreFrame();
|
| - if (!focused)
|
| - return;
|
| - if (WebPlugin* plugin = focusedPluginIfInputMethodSupported(focused)) {
|
| - plugin->extendSelectionAndDelete(before, after);
|
| - return;
|
| - }
|
| - focused->inputMethodController().extendSelectionAndDelete(before, after);
|
| -}
|
| -
|
| WebColor WebViewImpl::backgroundColor() const
|
| {
|
| if (isTransparent())
|
|
|