| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 4b2b793106bbff3cc1cac35433e6a30f71e997af..9f36a8070a6b2992fc961c234a97530078f747b2 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -66,7 +66,6 @@
|
| #include "core/html/HTMLTextAreaElement.h"
|
| #include "core/html/canvas/WebGLRenderingContext.h"
|
| #include "core/html/forms/PopupMenuClient.h"
|
| -#include "core/html/ime/InputMethodContext.h"
|
| #include "core/layout/LayoutPart.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/layout/TextAutosizer.h"
|
| @@ -2623,22 +2622,6 @@ bool WebViewImpl::selectionBounds(WebRect& anchor, WebRect& focus) const
|
| return true;
|
| }
|
|
|
| -InputMethodContext* WebViewImpl::inputMethodContext()
|
| -{
|
| - if (!m_imeAcceptEvents)
|
| - return 0;
|
| -
|
| - LocalFrame* focusedFrame = toLocalFrame(focusedCoreFrame());
|
| - if (!focusedFrame)
|
| - return 0;
|
| -
|
| - Element* target = focusedFrame->document()->focusedElement();
|
| - if (target && target->hasInputMethodContext())
|
| - return &target->inputMethodContext();
|
| -
|
| - return 0;
|
| -}
|
| -
|
| WebPlugin* WebViewImpl::focusedPluginIfInputMethodSupported(LocalFrame* frame)
|
| {
|
| WebPluginContainerImpl* container = WebLocalFrameImpl::pluginContainerFromNode(frame, WebNode(focusedElement()));
|
| @@ -2647,24 +2630,6 @@ WebPlugin* WebViewImpl::focusedPluginIfInputMethodSupported(LocalFrame* frame)
|
| return 0;
|
| }
|
|
|
| -void WebViewImpl::didShowCandidateWindow()
|
| -{
|
| - if (InputMethodContext* context = inputMethodContext())
|
| - context->dispatchCandidateWindowShowEvent();
|
| -}
|
| -
|
| -void WebViewImpl::didUpdateCandidateWindow()
|
| -{
|
| - if (InputMethodContext* context = inputMethodContext())
|
| - context->dispatchCandidateWindowUpdateEvent();
|
| -}
|
| -
|
| -void WebViewImpl::didHideCandidateWindow()
|
| -{
|
| - if (InputMethodContext* context = inputMethodContext())
|
| - context->dispatchCandidateWindowHideEvent();
|
| -}
|
| -
|
| bool WebViewImpl::selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const
|
| {
|
| const Frame* frame = focusedCoreFrame();
|
|
|