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

Unified Diff: ash/wm/common/shelf/wm_shelf_types.h

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: ash/wm/common/shelf/wm_shelf_types.h
diff --git a/ash/wm/common/shelf/wm_shelf_types.h b/ash/wm/common/shelf/wm_shelf_types.h
index 469491f564cc29e173932a7ea17c472292dc5a66..7c05d83c8a9184d82ee9be9de13a270b026f9ad9 100644
--- a/ash/wm/common/shelf/wm_shelf_types.h
+++ b/ash/wm/common/shelf/wm_shelf_types.h
@@ -6,6 +6,19 @@
#define ASH_WM_COMMON_SHELF_WM_SHELF_TYPES_H_
namespace ash {
+
+// TODO(sky): move into wm namespace.
+enum ShelfVisibilityState {
+ // Always visible.
+ SHELF_VISIBLE,
+
+ // A couple of pixels are reserved at the bottom for the shelf.
+ SHELF_AUTO_HIDE,
+
+ // Nothing is shown. Used for fullscreen windows.
+ SHELF_HIDDEN,
+};
+
namespace wm {
enum ShelfAlignment {

Powered by Google App Engine
This is Rietveld 408576698