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

Side by Side Diff: ash/shelf/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, 7 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 unified diff | Download patch
« no previous file with comments | « ash/shelf/shelf_locking_manager_unittest.cc ('k') | ash/shelf/shelf_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELF_SHELF_TYPES_H_ 5 #ifndef ASH_SHELF_SHELF_TYPES_H_
6 #define ASH_SHELF_SHELF_TYPES_H_ 6 #define ASH_SHELF_SHELF_TYPES_H_
7 7
8 // TODO(sky): make callers explicitly include this.
9 #include "ash/wm/common/shelf/wm_shelf_types.h"
10
8 namespace ash { 11 namespace ash {
9 12
10 enum ShelfAlignment {
11 SHELF_ALIGNMENT_BOTTOM,
12 SHELF_ALIGNMENT_LEFT,
13 SHELF_ALIGNMENT_RIGHT,
14 // Top has never been supported.
15
16 // The locked alignment is set temporarily and not saved to preferences.
17 SHELF_ALIGNMENT_BOTTOM_LOCKED,
18 };
19
20 enum ShelfAutoHideBehavior { 13 enum ShelfAutoHideBehavior {
21 // Always auto-hide. 14 // Always auto-hide.
22 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, 15 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
23 16
24 // Never auto-hide. 17 // Never auto-hide.
25 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, 18 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
26 19
27 // Always hide. 20 // Always hide.
28 SHELF_AUTO_HIDE_ALWAYS_HIDDEN, 21 SHELF_AUTO_HIDE_ALWAYS_HIDDEN,
29 }; 22 };
30 23
31 enum ShelfVisibilityState { 24 enum ShelfVisibilityState {
32 // Always visible. 25 // Always visible.
33 SHELF_VISIBLE, 26 SHELF_VISIBLE,
34 27
35 // A couple of pixels are reserved at the bottom for the shelf. 28 // A couple of pixels are reserved at the bottom for the shelf.
36 SHELF_AUTO_HIDE, 29 SHELF_AUTO_HIDE,
37 30
38 // Nothing is shown. Used for fullscreen windows. 31 // Nothing is shown. Used for fullscreen windows.
39 SHELF_HIDDEN, 32 SHELF_HIDDEN,
40 }; 33 };
41 34
42 enum ShelfAutoHideState { 35 enum ShelfAutoHideState {
43 SHELF_AUTO_HIDE_SHOWN, 36 SHELF_AUTO_HIDE_SHOWN,
44 SHELF_AUTO_HIDE_HIDDEN, 37 SHELF_AUTO_HIDE_HIDDEN,
45 }; 38 };
46 39
47 enum ShelfBackgroundType {
48 // The default transparent background.
49 SHELF_BACKGROUND_DEFAULT,
50
51 // The background when a window is overlapping.
52 SHELF_BACKGROUND_OVERLAP,
53
54 // The background when a window is maximized.
55 SHELF_BACKGROUND_MAXIMIZED,
56 };
57
58 } // namespace ash 40 } // namespace ash
59 41
60 #endif // ASH_SHELF_SHELF_TYPES_H_ 42 #endif // ASH_SHELF_SHELF_TYPES_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_locking_manager_unittest.cc ('k') | ash/shelf/shelf_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698