summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-12-06 16:24:29 -0500
committerLeon Scroggins <scroggo@google.com>2010-12-07 10:53:11 -0500
commit1caed8e3c0af63e20009e74642e2574e1185c38e (patch)
tree57534ec0e97923a48a510be3fe25a505f8acd00a /WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
parentc65c296d5bbf1608aedeceac90179a261deb0368 (diff)
downloadexternal_webkit-1caed8e3c0af63e20009e74642e2574e1185c38e.zip
external_webkit-1caed8e3c0af63e20009e74642e2574e1185c38e.tar.gz
external_webkit-1caed8e3c0af63e20009e74642e2574e1185c38e.tar.bz2
Fix for <select> elements.
Bug:3230016 Allow webkit to handle the click on a <select> element if it is a RenderMenuList. Implement PopupMenu class, using PopupMenuClient to interact with the <select> element. Change-Id: I9611c23304fc2fc3eb01ecbd7a46fa02cd52df9a
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
index 80a90fe..20ad5b9 100644
--- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
@@ -531,9 +531,9 @@ bool ChromeClientAndroid::selectItemWritingDirectionIsNatural()
return false;
}
-PassRefPtr<PopupMenu> ChromeClientAndroid::createPopupMenu(PopupMenuClient*) const
+PassRefPtr<PopupMenu> ChromeClientAndroid::createPopupMenu(PopupMenuClient* client) const
{
- return adoptRef(new PopupMenuAndroid);
+ return adoptRef(new PopupMenuAndroid(client));
}
PassRefPtr<SearchPopupMenu> ChromeClientAndroid::createSearchPopupMenu(PopupMenuClient*) const