| Index: Source/web/EditorClientImpl.cpp
|
| diff --git a/Source/web/EditorClientImpl.cpp b/Source/web/EditorClientImpl.cpp
|
| index 0be6980791e65585de85521c25e1723d7353a454..c095a0e2f6fadc07d70c512aa318b2f7626c93ca 100644
|
| --- a/Source/web/EditorClientImpl.cpp
|
| +++ b/Source/web/EditorClientImpl.cpp
|
| @@ -28,12 +28,9 @@
|
| #include "EditorClientImpl.h"
|
|
|
| #include "HTMLNames.h"
|
| -#include "WebAutofillClient.h"
|
| #include "WebElement.h"
|
| #include "WebFrameClient.h"
|
| #include "WebFrameImpl.h"
|
| -#include "WebInputElement.h"
|
| -#include "WebInputEventConversion.h"
|
| #include "WebKit.h"
|
| #include "WebNode.h"
|
| #include "WebPermissionClient.h"
|
| @@ -53,7 +50,6 @@
|
| #include "core/events/KeyboardEvent.h"
|
| #include "core/events/ThreadLocalEventNames.h"
|
| #include "core/frame/Frame.h"
|
| -#include "core/html/HTMLInputElement.h"
|
| #include "core/page/EventHandler.h"
|
| #include "core/page/Page.h"
|
| #include "core/page/Settings.h"
|
| @@ -525,36 +521,6 @@ void EditorClientImpl::handleKeyboardEvent(KeyboardEvent* evt)
|
| evt->setDefaultHandled();
|
| }
|
|
|
| -void EditorClientImpl::textFieldDidEndEditing(Element* element)
|
| -{
|
| - if (m_webView->autofillClient() && element->hasTagName(HTMLNames::inputTag))
|
| - m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(toHTMLInputElement(element)));
|
| -
|
| - // Notification that focus was lost. Be careful with this, it's also sent
|
| - // when the page is being closed.
|
| -
|
| - // Hide any showing popup.
|
| - m_webView->hideAutofillPopup();
|
| -}
|
| -
|
| -void EditorClientImpl::textDidChangeInTextField(Element* element)
|
| -{
|
| - HTMLInputElement* inputElement = toHTMLInputElement(element);
|
| - if (m_webView->autofillClient())
|
| - m_webView->autofillClient()->textFieldDidChange(WebInputElement(inputElement));
|
| -}
|
| -
|
| -bool EditorClientImpl::doTextFieldCommandFromEvent(Element* element, KeyboardEvent* event)
|
| -{
|
| - if (m_webView->autofillClient() && element->hasTagName(HTMLNames::inputTag))
|
| - m_webView->autofillClient()->textFieldDidReceiveKeyDown(WebInputElement(toHTMLInputElement(element)), WebKeyboardEventBuilder(*event));
|
| -
|
| - // The Mac code appears to use this method as a hook to implement special
|
| - // keyboard commands specific to Safari's auto-fill implementation. We
|
| - // just return false to allow the default action.
|
| - return false;
|
| -}
|
| -
|
| bool EditorClientImpl::shouldEraseMarkersAfterChangeSelection(TextCheckingType type) const
|
| {
|
| const Frame* frame = m_webView->focusedWebCoreFrame();
|
|
|