| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
| 6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 #include "ui/app_list/app_list_export.h" | 9 #include "ui/app_list/app_list_export.h" |
| 10 #include "ui/base/resource/resource_bundle.h" | 10 #include "ui/base/resource/resource_bundle.h" |
| 11 #include "ui/gfx/animation/tween.h" |
| 11 | 12 |
| 12 namespace app_list { | 13 namespace app_list { |
| 13 | 14 |
| 14 APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor; | 15 APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor; |
| 15 APP_LIST_EXPORT extern const SkColor kSearchBoxBackground; | 16 APP_LIST_EXPORT extern const SkColor kSearchBoxBackground; |
| 16 APP_LIST_EXPORT extern const SkColor kTopSeparatorColor; | 17 APP_LIST_EXPORT extern const SkColor kTopSeparatorColor; |
| 17 | 18 |
| 18 APP_LIST_EXPORT extern const SkColor kHighlightedColor; | 19 APP_LIST_EXPORT extern const SkColor kHighlightedColor; |
| 19 APP_LIST_EXPORT extern const SkColor kSelectedColor; | 20 APP_LIST_EXPORT extern const SkColor kSelectedColor; |
| 20 | 21 |
| 21 APP_LIST_EXPORT extern const SkColor kPagerHoverColor; | 22 APP_LIST_EXPORT extern const SkColor kPagerHoverColor; |
| 22 APP_LIST_EXPORT extern const SkColor kPagerNormalColor; | 23 APP_LIST_EXPORT extern const SkColor kPagerNormalColor; |
| 23 APP_LIST_EXPORT extern const SkColor kPagerSelectedColor; | 24 APP_LIST_EXPORT extern const SkColor kPagerSelectedColor; |
| 24 | 25 |
| 25 APP_LIST_EXPORT extern const SkColor kResultBorderColor; | 26 APP_LIST_EXPORT extern const SkColor kResultBorderColor; |
| 26 APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor; | 27 APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor; |
| 27 APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor; | 28 APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor; |
| 28 APP_LIST_EXPORT extern const SkColor kResultURLTextColor; | 29 APP_LIST_EXPORT extern const SkColor kResultURLTextColor; |
| 29 | 30 |
| 30 APP_LIST_EXPORT extern const SkColor kGridTitleColor; | 31 APP_LIST_EXPORT extern const SkColor kGridTitleColor; |
| 31 APP_LIST_EXPORT extern const SkColor kGridTitleHoverColor; | 32 APP_LIST_EXPORT extern const SkColor kGridTitleHoverColor; |
| 32 | 33 |
| 33 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor; | 34 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor; |
| 34 | 35 |
| 35 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs; | 36 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs; |
| 36 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs; | 37 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs; |
| 37 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs; | 38 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs; |
| 38 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs; | 39 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs; |
| 40 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType; |
| 41 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType; |
| 39 | 42 |
| 40 APP_LIST_EXPORT extern const int kPreferredCols; | 43 APP_LIST_EXPORT extern const int kPreferredCols; |
| 41 APP_LIST_EXPORT extern const int kPreferredRows; | 44 APP_LIST_EXPORT extern const int kPreferredRows; |
| 42 APP_LIST_EXPORT extern const int kPreferredIconDimension; | 45 APP_LIST_EXPORT extern const int kPreferredIconDimension; |
| 43 | 46 |
| 44 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; | 47 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; |
| 45 | 48 |
| 46 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; | 49 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; |
| 47 | 50 |
| 48 #if defined(OS_LINUX) | 51 #if defined(OS_LINUX) |
| 49 // The WM_CLASS name for the app launcher window on Linux. | 52 // The WM_CLASS name for the app launcher window on Linux. |
| 50 APP_LIST_EXPORT extern const char kAppListWMClass[]; | 53 APP_LIST_EXPORT extern const char kAppListWMClass[]; |
| 51 #endif | 54 #endif |
| 52 | 55 |
| 53 } // namespace app_list | 56 } // namespace app_list |
| 54 | 57 |
| 55 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 58 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
| OLD | NEW |