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

Side by Side Diff: ash/common/shelf/shelf_types.h

Issue 2376103005: mustash: Break dependency of //ash/public/interfaces on //ash (Closed)
Patch Set: rebase Created 4 years, 2 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/common/shelf/shelf_locking_manager.h ('k') | ash/common/shelf/shelf_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_COMMON_SHELF_SHELF_TYPES_H_
6 #define ASH_COMMON_SHELF_SHELF_TYPES_H_
7
8 namespace ash {
9
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 {
21 // Always auto-hide.
22 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
23
24 // Never auto-hide.
25 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
26
27 // Always hide.
28 SHELF_AUTO_HIDE_ALWAYS_HIDDEN,
29 };
30
31 enum ShelfAutoHideState {
32 SHELF_AUTO_HIDE_SHOWN,
33 SHELF_AUTO_HIDE_HIDDEN,
34 };
35
36 enum ShelfVisibilityState {
37 // Always visible.
38 SHELF_VISIBLE,
39
40 // A couple of pixels are reserved at the bottom for the shelf.
41 SHELF_AUTO_HIDE,
42
43 // Nothing is shown. Used for fullscreen windows.
44 SHELF_HIDDEN,
45 };
46
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
59
60 #endif // ASH_COMMON_SHELF_SHELF_TYPES_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_locking_manager.h ('k') | ash/common/shelf/shelf_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698