diff options
author | aruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-26 00:54:12 +0000 |
---|---|---|
committer | aruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-26 00:54:12 +0000 |
commit | 24d2b17dff7c4044839e1b5abd5baf83f4eb3b1d (patch) | |
tree | 57299b02d66597023406378a45337bbd794aadd9 /content/test/test_web_contents_view.cc | |
parent | f9d518696118b8f4985a20a18fb2d806af049415 (diff) | |
download | chromium_src-24d2b17dff7c4044839e1b5abd5baf83f4eb3b1d.zip chromium_src-24d2b17dff7c4044839e1b5abd5baf83f4eb3b1d.tar.gz chromium_src-24d2b17dff7c4044839e1b5abd5baf83f4eb3b1d.tar.bz2 |
Multi-select <select> in 'external popup window'
We use an 'external popup window' for both single and multi selection
<select> tag popups. This also supports <optgroup> and disabled <option>
items and multiple selections. On all other chrome platforms a multi-select
<select> tag is rendered in page, so this CL adds a bit of plumbing and IPC
stuff to get the multi-select popups working as well.
WebKit side of this CL is at http://trac.webkit.org/changeset/94600
Review URL: https://chromiumcodereview.appspot.com/10436010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_web_contents_view.cc')
-rw-r--r-- | content/test/test_web_contents_view.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/test/test_web_contents_view.cc b/content/test/test_web_contents_view.cc index 26411542..d56f1e2 100644 --- a/content/test/test_web_contents_view.cc +++ b/content/test/test_web_contents_view.cc @@ -16,6 +16,15 @@ void TestWebContentsView::ShowContextMenu( const ContextMenuParams& params) { } +void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds, + int item_height, + double item_font_size, + int selected_item, + const std::vector<WebMenuItem>& items, + bool right_aligned, + bool allow_multiple_selection) { +} + void TestWebContentsView::StartDragging( const WebDropData& drop_data, WebKit::WebDragOperationsMask allowed_ops, |