Index: ash/common/shelf/shelf_types.h |
diff --git a/ash/shelf/shelf_types.h b/ash/common/shelf/shelf_types.h |
similarity index 62% |
rename from ash/shelf/shelf_types.h |
rename to ash/common/shelf/shelf_types.h |
index 4821ff037e69f7f0e37775108175bb5c8683fe64..5ee6818e956f2c6575f3292210789c829c6630d2 100644 |
--- a/ash/shelf/shelf_types.h |
+++ b/ash/common/shelf/shelf_types.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef ASH_SHELF_SHELF_TYPES_H_ |
-#define ASH_SHELF_SHELF_TYPES_H_ |
+#ifndef ASH_COMMON_SHELF_SHELF_TYPES_H_ |
+#define ASH_COMMON_SHELF_SHELF_TYPES_H_ |
// TODO(sky): make callers explicitly include this. |
#include "ash/common/wm/shelf/wm_shelf_types.h" |
@@ -26,6 +26,17 @@ enum ShelfAutoHideState { |
SHELF_AUTO_HIDE_HIDDEN, |
}; |
+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 ash |
-#endif // ASH_SHELF_SHELF_TYPES_H_ |
+#endif // ASH_COMMON_SHELF_SHELF_TYPES_H_ |