| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 97b239bca9e784930ef1cdd502f10efc62b75382..2548ea1633497463ad4ccd87891aa1cc407bd68c 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2339,20 +2339,6 @@ WebRange WebViewImpl::compositionRange() {
|
| return PlainTextRange::create(*editable, range);
|
| }
|
|
|
| -WebTextInputInfo WebViewImpl::textInputInfo() {
|
| - LocalFrame* focused = focusedLocalFrameInWidget();
|
| - if (!focused)
|
| - return WebTextInputInfo();
|
| - return focused->inputMethodController().textInputInfo();
|
| -}
|
| -
|
| -WebTextInputType WebViewImpl::textInputType() {
|
| - LocalFrame* focused = focusedLocalFrameInWidget();
|
| - if (!focused)
|
| - return WebTextInputTypeNone;
|
| - return focused->inputMethodController().textInputType();
|
| -}
|
| -
|
| // TODO(ekaramad):This method is almost duplicated in WebFrameWidgetImpl as
|
| // well. This code needs to be refactored (http://crbug.com/629721).
|
| bool WebViewImpl::selectionBounds(WebRect& anchor, WebRect& focus) const {
|
| @@ -3583,8 +3569,7 @@ bool WebViewImpl::isTransparent() const {
|
|
|
| WebInputMethodControllerImpl* WebViewImpl::getActiveWebInputMethodController()
|
| const {
|
| - return WebInputMethodControllerImpl::fromFrame(
|
| - focusedLocalFrameAvailableForIme());
|
| + return WebInputMethodControllerImpl::fromFrame(focusedLocalFrameInWidget());
|
| }
|
|
|
| void WebViewImpl::setBaseBackgroundColor(WebColor color) {
|
|
|