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

Unified Diff: chrome/browser/ui/panels/panel_collection.h

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/panel_collection.h
diff --git a/chrome/browser/ui/panels/panel_collection.h b/chrome/browser/ui/panels/panel_collection.h
index 70d3639f943faea8fc853f8a6c074953b800b86c..e5656c074eca6ce1578a733f9bfc38fd0154fa33 100644
--- a/chrome/browser/ui/panels/panel_collection.h
+++ b/chrome/browser/ui/panels/panel_collection.h
@@ -29,12 +29,17 @@ class PanelCollection {
DEFAULT_POSITION = 0x0,
// The panel is being added based on its current known position.
KNOWN_POSITION = 0x1,
+ // The panel is added and placed at top position (currently oly used by
dcheng 2013/01/10 22:39:03 Nit: typo, s/oly/only
jianli 2013/01/10 23:23:23 Done.
+ // stacked collection)
+ TOP_POSITION = 0x2,
// Do not update panel bounds. Only valid with DEFAULT_POSIITON.
- DO_NOT_UPDATE_BOUNDS = 0x2,
+ DO_NOT_UPDATE_BOUNDS = 0x4,
// Wait for a brief delay before refreshing layout of the collection after
// adding panel to the collection. If not set, the collection will refresh
// its layout immediately.
- DELAY_LAYOUT_REFRESH = 0x4,
+ DELAY_LAYOUT_REFRESH = 0x8,
+ // Do not refresh layout. Used by stacking.
+ NO_LAYOUT_REFRESH = 0x10
};
Type type() const { return type_; }

Powered by Google App Engine
This is Rietveld 408576698