| Index: sky/engine/web/WebViewImpl.cpp
|
| diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
|
| index 239a54874d791792058c51e0f2c7ab7c146d40d8..68392427ce8f41b5ff1a4b53fa7530810d987ec1 100644
|
| --- a/sky/engine/web/WebViewImpl.cpp
|
| +++ b/sky/engine/web/WebViewImpl.cpp
|
| @@ -50,7 +50,6 @@
|
| #include "sky/engine/core/frame/NewEventHandler.h"
|
| #include "sky/engine/core/frame/Settings.h"
|
| #include "sky/engine/core/html/HTMLImportElement.h"
|
| -#include "sky/engine/core/html/ime/InputMethodContext.h"
|
| #include "sky/engine/core/loader/FrameLoader.h"
|
| #include "sky/engine/core/loader/UniqueIdentifier.h"
|
| #include "sky/engine/core/page/AutoscrollController.h"
|
| @@ -575,40 +574,6 @@ WebString WebViewImpl::inputModeOfFocusedElement()
|
| return WebString();
|
| }
|
|
|
| -InputMethodContext* WebViewImpl::inputMethodContext()
|
| -{
|
| - if (!m_imeAcceptEvents)
|
| - return 0;
|
| -
|
| - LocalFrame* focusedFrame = focusedCoreFrame();
|
| - if (!focusedFrame)
|
| - return 0;
|
| -
|
| - Element* target = focusedFrame->document()->focusedElement();
|
| - if (target && target->hasInputMethodContext())
|
| - return &target->inputMethodContext();
|
| -
|
| - 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();
|
| -}
|
| -
|
| WebVector<WebCompositionUnderline> WebViewImpl::compositionUnderlines() const
|
| {
|
| const LocalFrame* focused = focusedCoreFrame();
|
|
|