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

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

Issue 2032253003: mash: Move wm_shelf_types.h into shelf_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfconstants
Patch Set: Rebase 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/wm/shelf/wm_shelf_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_types.h
diff --git a/ash/common/shelf/shelf_types.h b/ash/common/shelf/shelf_types.h
index 5ee6818e956f2c6575f3292210789c829c6630d2..9b0ac9e3214eb76ce76b04fcfb38dfc74d4797d1 100644
--- a/ash/common/shelf/shelf_types.h
+++ b/ash/common/shelf/shelf_types.h
@@ -5,11 +5,18 @@
#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"
-
namespace ash {
+enum ShelfAlignment {
+ SHELF_ALIGNMENT_BOTTOM,
+ SHELF_ALIGNMENT_LEFT,
+ SHELF_ALIGNMENT_RIGHT,
+ // Top has never been supported.
+
+ // The locked alignment is set temporarily and not saved to preferences.
+ SHELF_ALIGNMENT_BOTTOM_LOCKED,
+};
+
enum ShelfAutoHideBehavior {
// Always auto-hide.
SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
@@ -37,6 +44,17 @@ enum ShelfVisibilityState {
SHELF_HIDDEN,
};
+enum ShelfBackgroundType {
+ // The default transparent background.
+ SHELF_BACKGROUND_DEFAULT,
+
+ // The background when a window is overlapping.
+ SHELF_BACKGROUND_OVERLAP,
+
+ // The background when a window is maximized.
+ SHELF_BACKGROUND_MAXIMIZED,
+};
+
} // namespace ash
#endif // ASH_COMMON_SHELF_SHELF_TYPES_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/wm/shelf/wm_shelf_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698