Supress proguard warnings for GooglePlayServicesUtil.
[chromium-blink-merge.git] / ui / app_list / app_list_constants.h
blob3174e12f17e05cb9a22129d4367f1e6d2a50d81e
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"
12 #include "ui/gfx/shadow_value.h"
14 namespace app_list {
16 APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor;
17 APP_LIST_EXPORT extern const SkColor kSearchBoxBackground;
19 APP_LIST_EXPORT extern const SkColor kSearchTextColor;
21 APP_LIST_EXPORT extern const SkColor kLabelBackgroundColor;
22 APP_LIST_EXPORT extern const SkColor kTopSeparatorColor;
23 APP_LIST_EXPORT extern const SkColor kBottomSeparatorColor;
25 APP_LIST_EXPORT extern const SkColor kDialogSeparatorColor;
27 APP_LIST_EXPORT extern const SkColor kHighlightedColor;
28 APP_LIST_EXPORT extern const SkColor kSelectedColor;
30 APP_LIST_EXPORT extern const SkColor kPagerHoverColor;
31 APP_LIST_EXPORT extern const SkColor kPagerNormalColor;
32 APP_LIST_EXPORT extern const SkColor kPagerSelectedColor;
34 APP_LIST_EXPORT extern const SkColor kResultBorderColor;
35 APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor;
36 APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor;
37 APP_LIST_EXPORT extern const SkColor kResultURLTextColor;
39 APP_LIST_EXPORT extern const SkColor kGridTitleColor;
41 APP_LIST_EXPORT extern const SkColor kFolderTitleColor;
42 APP_LIST_EXPORT extern const SkColor kFolderTitleHintTextColor;
43 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor;
44 APP_LIST_EXPORT extern const SkColor kFolderShadowColor;
45 APP_LIST_EXPORT extern const float kFolderBubbleRadius;
46 APP_LIST_EXPORT extern const float kFolderBubbleOffsetY;
48 APP_LIST_EXPORT extern const SkColor kCardBackgroundColor;
50 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs;
51 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs;
52 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs;
53 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs;
54 APP_LIST_EXPORT extern const int kCustomPageCollapsedHeight;
55 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType;
56 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType;
58 APP_LIST_EXPORT extern const int kPreferredCols;
59 APP_LIST_EXPORT extern const int kPreferredRows;
60 APP_LIST_EXPORT extern const int kGridIconDimension;
62 APP_LIST_EXPORT extern const int kListIconSize;
63 APP_LIST_EXPORT extern const int kListBadgeIconSize;
64 APP_LIST_EXPORT extern const int kListBadgeIconOffsetX;
65 APP_LIST_EXPORT extern const int kListBadgeIconOffsetY;
66 APP_LIST_EXPORT extern const int kTileIconSize;
68 APP_LIST_EXPORT extern const int kCenteredPreferredCols;
69 APP_LIST_EXPORT extern const int kCenteredPreferredRows;
71 APP_LIST_EXPORT extern const int kExperimentalPreferredCols;
72 APP_LIST_EXPORT extern const int kExperimentalPreferredRows;
74 APP_LIST_EXPORT extern const int kReorderDroppingCircleRadius;
76 APP_LIST_EXPORT extern const int kExperimentalAppsGridPadding;
77 APP_LIST_EXPORT extern const int kExperimentalSearchBoxPadding;
79 APP_LIST_EXPORT extern size_t kMaxFolderItems;
80 APP_LIST_EXPORT extern const size_t kNumFolderTopItems;
81 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars;
83 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle;
85 APP_LIST_EXPORT extern const char kPageOpenedHistogram[];
86 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[];
87 APP_LIST_EXPORT extern const char kSearchQueryLength[];
88 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[];
90 #if defined(OS_LINUX)
91 // The WM_CLASS name for the app launcher window on Linux.
92 APP_LIST_EXPORT extern const char kAppListWMClass[];
93 #endif
95 // Returns the shadow values for a view at |z_height|.
96 APP_LIST_EXPORT gfx::ShadowValue GetShadowForZHeight(int z_height);
98 APP_LIST_EXPORT const gfx::ShadowValues& IconStartShadows();
99 APP_LIST_EXPORT const gfx::ShadowValues& IconEndShadows();
101 } // namespace app_list
103 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_