Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: chrome/browser/ui/panels/panel.cc

Issue 7677001: Some fixes to panel support on Windows: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698