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

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: Change to pass as scoped_ptr 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..280d5aba64f44ab65c6eadc0dc5f13f0bdf3cf20 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 only used by
+ // 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