summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webwidget_impl.cc
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 03:03:09 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 03:03:09 +0000
commit3f64e5af06d2506e1e9886fc834775f2169f21be (patch)
tree6a23effda23684362a666dc02efa3a337fd40f3c /webkit/glue/webwidget_impl.cc
parent1f73c7ff048b6735e5cf2c36d77ac0cd175d5fb8 (diff)
downloadchromium_src-3f64e5af06d2506e1e9886fc834775f2169f21be.zip
chromium_src-3f64e5af06d2506e1e9886fc834775f2169f21be.tar.gz
chromium_src-3f64e5af06d2506e1e9886fc834775f2169f21be.tar.bz2
Chrome side of the WebKit popup changes.
Implements HTML select popups on Mac OS X as native Cocoa controls. BUG=5095 (http://crbug.com/5095) Review URL: http://codereview.chromium.org/67018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webwidget_impl.cc')
-rw-r--r--webkit/glue/webwidget_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/webwidget_impl.cc b/webkit/glue/webwidget_impl.cc
index 79408fb..f8442d6 100644
--- a/webkit/glue/webwidget_impl.cc
+++ b/webkit/glue/webwidget_impl.cc
@@ -73,13 +73,13 @@ void WebWidgetImpl::InitWithItems(WebCore::FramelessScrollView* widget,
const WebRect& bounds,
int item_height,
int selected_index,
- const std::vector<MenuItem>& items) {
+ const std::vector<WebMenuItem>& items) {
widget_ = widget;
widget_->setClient(this);
if (delegate_) {
- delegate_->SetWindowRect(this, bounds);
- delegate_->ShowWithItems(this, bounds, item_height, selected_index, items);
+ delegate_->ShowAsPopupWithItems(this, bounds, item_height,
+ selected_index, items);
}
}