Index: chrome/browser/ui/panels/panel.cc |
=================================================================== |
--- chrome/browser/ui/panels/panel.cc (revision 97031) |
+++ chrome/browser/ui/panels/panel.cc (working copy) |
@@ -62,6 +62,11 @@ |
if (expansion_state_ == Panel::EXPANDED) |
return false; |
+ // If the panel is showing titlebar only, we want to keep it up when it is |
+ // being dragged. |
+ if (expansion_state_ == Panel::TITLE_ONLY && manager()->is_dragging_panel()) |
+ return true; |
+ |
// Let the native panel decide. |
return native_panel_->ShouldBringUpPanelTitlebar(mouse_x, mouse_y); |
} |