From ba01ca1ef2bfe8916fafb72fee4a594a0cb2e302 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Mon, 24 Jan 2011 15:21:12 -0500 Subject: Wait until the focus changes to hide keyboard. Bug:3376680 Change-Id: Ib5636a27183fbd94aff6817e0a5641c40db28649 --- WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp') diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp index 20ad5b9..cb1efe1 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp @@ -145,7 +145,11 @@ void ChromeClientAndroid::unfocus() { notImplemented(); } bool ChromeClientAndroid::canTakeFocus(FocusDirection) { notImplemented(); return false; } void ChromeClientAndroid::takeFocus(FocusDirection) { notImplemented(); } -void ChromeClientAndroid::focusedNodeChanged(Node*) { notImplemented(); } +void ChromeClientAndroid::focusedNodeChanged(Node* node) +{ + android::WebViewCore::getWebViewCore(m_webFrame->page()->mainFrame()->view())->focusNodeChanged(node); +} + void ChromeClientAndroid::focusedFrameChanged(Frame*) { notImplemented(); } Page* ChromeClientAndroid::createWindow(Frame* frame, const FrameLoadRequest&, -- cgit v1.1