diff options
author | Leon Scroggins <scroggo@google.com> | 2011-01-24 15:02:40 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-01-24 15:02:40 -0800 |
commit | 1ce076ca4ba4164d5a583d26af05c0030f01afe8 (patch) | |
tree | 03f42cb73c7d0bb4d4fab3b6a8939df57330f12b /WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | |
parent | 2efa69dd571da1a0f2cbeaeba29685c8ed412416 (diff) | |
parent | ba01ca1ef2bfe8916fafb72fee4a594a0cb2e302 (diff) | |
download | external_webkit-1ce076ca4ba4164d5a583d26af05c0030f01afe8.zip external_webkit-1ce076ca4ba4164d5a583d26af05c0030f01afe8.tar.gz external_webkit-1ce076ca4ba4164d5a583d26af05c0030f01afe8.tar.bz2 |
Merge "Wait until the focus changes to hide keyboard." into honeycomb
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp')
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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&, |