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 UI_APP_LIST_APP_LIST_CONSTANTS_H_
6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_
8 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/app_list/app_list_export.h"
10 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/gfx/animation/tween.h"
15 APP_LIST_EXPORT
extern const SkColor kContentsBackgroundColor
;
16 APP_LIST_EXPORT
extern const SkColor kSearchBoxBackground
;
17 APP_LIST_EXPORT
extern const SkColor kLabelBackgroundColor
;
18 APP_LIST_EXPORT
extern const SkColor kTopSeparatorColor
;
19 APP_LIST_EXPORT
extern const SkColor kBottomSeparatorColor
;
21 APP_LIST_EXPORT
extern const SkColor kDialogSeparatorColor
;
23 APP_LIST_EXPORT
extern const SkColor kHighlightedColor
;
24 APP_LIST_EXPORT
extern const SkColor kSelectedColor
;
26 APP_LIST_EXPORT
extern const SkColor kPagerHoverColor
;
27 APP_LIST_EXPORT
extern const SkColor kPagerNormalColor
;
28 APP_LIST_EXPORT
extern const SkColor kPagerSelectedColor
;
30 APP_LIST_EXPORT
extern const SkColor kResultBorderColor
;
31 APP_LIST_EXPORT
extern const SkColor kResultDefaultTextColor
;
32 APP_LIST_EXPORT
extern const SkColor kResultDimmedTextColor
;
33 APP_LIST_EXPORT
extern const SkColor kResultURLTextColor
;
35 APP_LIST_EXPORT
extern const SkColor kGridTitleColor
;
36 APP_LIST_EXPORT
extern const SkColor kGridTitleHoverColor
;
38 APP_LIST_EXPORT
extern const SkColor kFolderTitleColor
;
39 APP_LIST_EXPORT
extern const SkColor kFolderTitleHintTextColor
;
40 APP_LIST_EXPORT
extern const SkColor kFolderBubbleColor
;
41 APP_LIST_EXPORT
extern const SkColor kFolderShadowColor
;
42 APP_LIST_EXPORT
extern const float kFolderBubbleRadius
;
43 APP_LIST_EXPORT
extern const float kFolderShadowRadius
;
44 APP_LIST_EXPORT
extern const float kFolderShadowOffsetY
;
46 APP_LIST_EXPORT
extern const int kCardShadowBlur
;
47 APP_LIST_EXPORT
extern const int kCardShadowYOffset
;
48 APP_LIST_EXPORT
extern const SkColor kCardShadowColor
;
49 APP_LIST_EXPORT
extern const SkColor kCardBackgroundColor
;
51 APP_LIST_EXPORT
extern const int kPageTransitionDurationInMs
;
52 APP_LIST_EXPORT
extern const int kOverscrollPageTransitionDurationMs
;
53 APP_LIST_EXPORT
extern const int kFolderTransitionInDurationMs
;
54 APP_LIST_EXPORT
extern const int kFolderTransitionOutDurationMs
;
55 APP_LIST_EXPORT
extern const int kCustomPageCollapsedHeight
;
56 APP_LIST_EXPORT
extern const gfx::Tween::Type kFolderFadeInTweenType
;
57 APP_LIST_EXPORT
extern const gfx::Tween::Type kFolderFadeOutTweenType
;
59 APP_LIST_EXPORT
extern const int kPreferredCols
;
60 APP_LIST_EXPORT
extern const int kPreferredRows
;
61 APP_LIST_EXPORT
extern const int kGridIconDimension
;
63 APP_LIST_EXPORT
extern const int kListIconSize
;
64 APP_LIST_EXPORT
extern const int kTileIconSize
;
66 APP_LIST_EXPORT
extern const int kCenteredPreferredCols
;
67 APP_LIST_EXPORT
extern const int kCenteredPreferredRows
;
69 APP_LIST_EXPORT
extern const int kExperimentalPreferredCols
;
70 APP_LIST_EXPORT
extern const int kExperimentalPreferredRows
;
72 APP_LIST_EXPORT
extern const int kReorderDroppingCircleRadius
;
74 APP_LIST_EXPORT
extern const int kExperimentalWindowPadding
;
76 APP_LIST_EXPORT
extern size_t kMaxFolderItems
;
77 APP_LIST_EXPORT
extern const size_t kNumFolderTopItems
;
78 APP_LIST_EXPORT
extern const size_t kMaxFolderNameChars
;
80 APP_LIST_EXPORT
extern const ui::ResourceBundle::FontStyle kItemTextFontStyle
;
83 // The WM_CLASS name for the app launcher window on Linux.
84 APP_LIST_EXPORT
extern const char kAppListWMClass
[];
87 } // namespace app_list
89 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_