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

Unified Diff: ash/common/shelf/shelf_types.h

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp Created 4 years, 6 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/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_

Powered by Google App Engine
This is Rietveld 408576698