diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 15:35:13 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 15:35:13 +0000 |
commit | e959f0b97dba7228c76b7722cf4227fdf6416524 (patch) | |
tree | 7af84f30c8a3560c19e17f7cb1dc220e1e4fa0be /views/controls/menu/submenu_view.cc | |
parent | bf6a46bed6770a7041c222e4505135bd30701576 (diff) | |
download | chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.zip chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.tar.gz chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.tar.bz2 |
Makes it so that when a folder is open on the bookmark bar and the
mouse moves over another folder, the menu for that folder is shown.
BUG=355
TEST=thorougly test all possible permutations of bookmark menus you
can think of, including drag and drop to the menus.
Review URL: http://codereview.chromium.org/328012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/submenu_view.cc')
-rw-r--r-- | views/controls/menu/submenu_view.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/controls/menu/submenu_view.cc b/views/controls/menu/submenu_view.cc index d08de6f..3b315ef 100644 --- a/views/controls/menu/submenu_view.cc +++ b/views/controls/menu/submenu_view.cc @@ -221,6 +221,8 @@ void SubmenuView::ShowAt(gfx::NativeWindow parent, bool do_capture) { if (host_) { host_->Show(); + if (do_capture) + host_->DoCapture(); return; } |