Don't leave aborted URLs in the omnibox unless we're on the NTP.
[chromium-blink-merge.git] / ash / shelf / shelf_types.h
blob4ee3b94c09a94a373efb59163d8aed64c0351adf
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.
5 #ifndef ASH_SHELF_SHELF_TYPES_H_
6 #define ASH_SHELF_SHELF_TYPES_H_
8 namespace ash {
10 enum ShelfAlignment {
11 SHELF_ALIGNMENT_BOTTOM,
12 SHELF_ALIGNMENT_LEFT,
13 SHELF_ALIGNMENT_RIGHT,
14 SHELF_ALIGNMENT_TOP,
17 enum ShelfAutoHideBehavior {
18 // Always auto-hide.
19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
21 // Never auto-hide.
22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
24 // Always hide.
25 SHELF_AUTO_HIDE_ALWAYS_HIDDEN,
28 enum ShelfVisibilityState {
29 // Always visible.
30 SHELF_VISIBLE,
32 // A couple of pixels are reserved at the bottom for the shelf.
33 SHELF_AUTO_HIDE,
35 // Nothing is shown. Used for fullscreen windows.
36 SHELF_HIDDEN,
39 enum ShelfAutoHideState {
40 SHELF_AUTO_HIDE_SHOWN,
41 SHELF_AUTO_HIDE_HIDDEN,
44 enum ShelfBackgroundType {
45 // The default transparent background.
46 SHELF_BACKGROUND_DEFAULT,
48 // The background when a window is overlapping.
49 SHELF_BACKGROUND_OVERLAP,
51 // The background when a window is maximized.
52 SHELF_BACKGROUND_MAXIMIZED,
55 } // namespace ash
57 #endif // ASH_SHELF_SHELF_TYPES_H_