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 UI_APP_LIST_APP_LIST_CONSTANTS_H_
6#define UI_APP_LIST_APP_LIST_CONSTANTS_H_
7
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"
12
13namespace app_list {
14
15APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor;
16APP_LIST_EXPORT extern const SkColor kSearchBoxBackground;
17APP_LIST_EXPORT extern const SkColor kTopSeparatorColor;
18APP_LIST_EXPORT extern const SkColor kBottomSeparatorColor;
19
20APP_LIST_EXPORT extern const SkColor kDialogSeparatorColor;
21
22APP_LIST_EXPORT extern const SkColor kHighlightedColor;
23APP_LIST_EXPORT extern const SkColor kSelectedColor;
24
25APP_LIST_EXPORT extern const SkColor kPagerHoverColor;
26APP_LIST_EXPORT extern const SkColor kPagerNormalColor;
27APP_LIST_EXPORT extern const SkColor kPagerSelectedColor;
28
29APP_LIST_EXPORT extern const SkColor kResultBorderColor;
30APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor;
31APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor;
32APP_LIST_EXPORT extern const SkColor kResultURLTextColor;
33
34APP_LIST_EXPORT extern const SkColor kGridTitleColor;
35APP_LIST_EXPORT extern const SkColor kGridTitleHoverColor;
36
37APP_LIST_EXPORT extern const SkColor kFolderBubbleColor;
38
39APP_LIST_EXPORT extern const int kPageTransitionDurationInMs;
40APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs;
41APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs;
42APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs;
43APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType;
44APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType;
45
46APP_LIST_EXPORT extern const int kPreferredCols;
47APP_LIST_EXPORT extern const int kPreferredRows;
48APP_LIST_EXPORT extern const int kGridIconDimension;
49
50APP_LIST_EXPORT extern const int kListIconSize;
51APP_LIST_EXPORT extern const int kTileIconSize;
52
53APP_LIST_EXPORT extern const int kCenteredPreferredCols;
54APP_LIST_EXPORT extern const int kCenteredPreferredRows;
55
56APP_LIST_EXPORT extern const int kExperimentalPreferredCols;
57APP_LIST_EXPORT extern const int kExperimentalPreferredRows;
58
59APP_LIST_EXPORT extern const int kReorderDroppingCircleRadius;
60
61APP_LIST_EXPORT extern const int kExperimentalWindowPadding;
62
63APP_LIST_EXPORT extern size_t kMaxFolderItems;
64APP_LIST_EXPORT extern const size_t kNumFolderTopItems;
65APP_LIST_EXPORT extern const size_t kMaxFolderNameChars;
66
67APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle;
68
69#if defined(OS_LINUX)
70// The WM_CLASS name for the app launcher window on Linux.
71APP_LIST_EXPORT extern const char kAppListWMClass[];
72#endif
73
74}  // namespace app_list
75
76#endif  // UI_APP_LIST_APP_LIST_CONSTANTS_H_
77