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

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

Issue 11669018: Support dragging panels to stack and snap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 7 years, 11 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/detached_panel_collection.cc
diff --git a/chrome/browser/ui/panels/detached_panel_collection.cc b/chrome/browser/ui/panels/detached_panel_collection.cc
index 94de21c7792faf091f672f39324715fd0b44ebc3..69d972acf39d0c7117d821cdad5ee89769dac5fd 100644
--- a/chrome/browser/ui/panels/detached_panel_collection.cc
+++ b/chrome/browser/ui/panels/detached_panel_collection.cc
@@ -205,6 +205,7 @@ void DetachedPanelCollection::UpdatePanelOnCollectionChange(Panel* panel) {
panel->SetAlwaysOnTop(false);
panel->EnableResizeByMouse(true);
panel->UpdateMinimizeRestoreButtonVisibility();
Dmitry Titov 2013/01/10 00:16:24 This is where I would add a new method on Panel, U
jianli 2013/01/10 02:05:37 Changed to adding new method OnCollectionChanged()
+ panel->UpdateStackingProperty();
}
void DetachedPanelCollection::OnPanelActiveStateChanged(Panel* panel) {

Powered by Google App Engine
This is Rietveld 408576698