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

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

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment 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
« no previous file with comments | « ash/wm/common/shelf/wm_shelf_observer.h ('k') | ash/wm/common/wm_root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..469491f564cc29e173932a7ea17c472292dc5a66
--- /dev/null
+++ b/ash/wm/common/shelf/wm_shelf_types.h
@@ -0,0 +1,35 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_COMMON_SHELF_WM_SHELF_TYPES_H_
+#define ASH_WM_COMMON_SHELF_WM_SHELF_TYPES_H_
+
+namespace ash {
+namespace wm {
+
+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 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 wm
+} // namespace ash
+
+#endif // ASH_WM_COMMON_SHELF_WM_SHELF_TYPES_H_
« no previous file with comments | « ash/wm/common/shelf/wm_shelf_observer.h ('k') | ash/wm/common/wm_root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698