diff options
author | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 03:03:09 +0000 |
---|---|---|
committer | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 03:03:09 +0000 |
commit | 3f64e5af06d2506e1e9886fc834775f2169f21be (patch) | |
tree | 6a23effda23684362a666dc02efa3a337fd40f3c /webkit/glue/chrome_client_impl.h | |
parent | 1f73c7ff048b6735e5cf2c36d77ac0cd175d5fb8 (diff) | |
download | chromium_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/chrome_client_impl.h')
-rw-r--r-- | webkit/glue/chrome_client_impl.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h index ad427f4..a29a2da 100644 --- a/webkit/glue/chrome_client_impl.h +++ b/webkit/glue/chrome_client_impl.h @@ -15,7 +15,7 @@ class WebCursor; class WebViewImpl; namespace WebCore { -struct PopupListData; +class PopupContainer; class SecurityOrigin; struct WindowFeatures; } @@ -117,15 +117,13 @@ class ChromeClientImpl : public WebCore::ChromeClientChromium { virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>); - virtual void popupOpened(WebCore::FramelessScrollView* popup_view, + virtual void popupOpened(WebCore::PopupContainer* popup_container, const WebCore::IntRect& bounds, - bool activatable); - void popupOpenedWithItems(WebCore::FramelessScrollView* popupView, + bool activatable, + bool handle_external); + void popupOpenedInternal(WebCore::PopupContainer* popup_container, const WebCore::IntRect& bounds, - bool activatable, - int item_height, - int selected_index, - const WTF::Vector<WebCore::PopupListData*>& items); + bool activatable); void SetCursor(const WebCursor& cursor); void SetCursorForPlugin(const WebCursor& cursor); |