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

Side by Side Diff: ash/shelf_types.h

Issue 12313118: Refactor: Shelf Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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
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_SHELF_TYPES_H_
6 #define ASH_SHELF_TYPES_H_
7
8 namespace ash {
9
10 enum ShelfAlignment {
11 SHELF_ALIGNMENT_BOTTOM,
12 SHELF_ALIGNMENT_LEFT,
13 SHELF_ALIGNMENT_RIGHT,
14 SHELF_ALIGNMENT_TOP,
15 };
16
17 enum ShelfAutoHideBehavior {
18 // Always auto-hide.
19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
20
21 // Never auto-hide.
22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
23
24 // Always hide.
25 SHELF_AUTO_HIDE_ALWAYS_HIDDEN,
26 };
27
28 enum ShelfVisibilityState {
29 // Always visible.
30 SHELF_VISIBLE,
31
32 // A couple of pixels are reserved at the bottom for the shelf.
33 SHELF_AUTO_HIDE,
34
35 // Nothing is shown. Used for fullscreen windows.
36 SHELF_HIDDEN,
37 };
38
39 enum ShelfAutoHideState {
40 SHELF_AUTO_HIDE_SHOWN,
41 SHELF_AUTO_HIDE_HIDDEN,
42 };
43
44 } // namespace ash
45
46 #endif // ASH_SHELF_TYPES_H_
OLDNEW
« ash/shelf/shelf_widget.cc ('K') | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698