Chromium Code Reviews| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 | 43 |
| 44 APP_LIST_EXPORT extern const SkColor kFolderTitleColor; | 44 APP_LIST_EXPORT extern const SkColor kFolderTitleColor; |
| 45 APP_LIST_EXPORT extern const SkColor kFolderTitleHintTextColor; | 45 APP_LIST_EXPORT extern const SkColor kFolderTitleHintTextColor; |
| 46 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor; | 46 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor; |
| 47 APP_LIST_EXPORT extern const SkColor kFolderShadowColor; | 47 APP_LIST_EXPORT extern const SkColor kFolderShadowColor; |
| 48 APP_LIST_EXPORT extern const float kFolderBubbleRadius; | 48 APP_LIST_EXPORT extern const float kFolderBubbleRadius; |
| 49 APP_LIST_EXPORT extern const float kFolderBubbleOffsetY; | 49 APP_LIST_EXPORT extern const float kFolderBubbleOffsetY; |
| 50 | 50 |
| 51 APP_LIST_EXPORT extern const SkColor kCardBackgroundColor; | 51 APP_LIST_EXPORT extern const SkColor kCardBackgroundColor; |
| 52 | 52 |
| 53 APP_LIST_EXPORT extern const SkColor kAppPriceColor; | |
| 54 APP_LIST_EXPORT extern const SkColor kAppRatingColor; | |
|
xiyuan
2017/06/20 22:19:22
The const should stay with the file where they are
weidongg
2017/06/22 00:59:16
Done.
| |
| 55 | |
| 53 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs; | 56 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs; |
| 54 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs; | 57 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs; |
| 55 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs; | 58 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs; |
| 56 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs; | 59 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs; |
| 57 APP_LIST_EXPORT extern const int kCustomPageCollapsedHeight; | 60 APP_LIST_EXPORT extern const int kCustomPageCollapsedHeight; |
| 58 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType; | 61 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType; |
| 59 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType; | 62 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType; |
| 60 | 63 |
| 61 APP_LIST_EXPORT extern const int kPreferredCols; | 64 APP_LIST_EXPORT extern const int kPreferredCols; |
| 62 APP_LIST_EXPORT extern const int kPreferredRows; | 65 APP_LIST_EXPORT extern const int kPreferredRows; |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 85 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; | 88 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; |
| 86 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; | 89 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; |
| 87 | 90 |
| 88 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; | 91 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; |
| 89 | 92 |
| 90 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; | 93 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; |
| 91 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; | 94 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; |
| 92 APP_LIST_EXPORT extern const char kSearchQueryLength[]; | 95 APP_LIST_EXPORT extern const char kSearchQueryLength[]; |
| 93 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[]; | 96 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[]; |
| 94 | 97 |
| 98 APP_LIST_EXPORT extern const char kAppPriceFontList[]; | |
| 99 APP_LIST_EXPORT extern const char kAppRatingFontList[]; | |
| 100 | |
| 95 // Returns the shadow values for a view at |z_height|. | 101 // Returns the shadow values for a view at |z_height|. |
| 96 APP_LIST_EXPORT gfx::ShadowValue GetShadowForZHeight(int z_height); | 102 APP_LIST_EXPORT gfx::ShadowValue GetShadowForZHeight(int z_height); |
| 97 | 103 |
| 98 APP_LIST_EXPORT const gfx::ShadowValues& IconStartShadows(); | 104 APP_LIST_EXPORT const gfx::ShadowValues& IconStartShadows(); |
| 99 APP_LIST_EXPORT const gfx::ShadowValues& IconEndShadows(); | 105 APP_LIST_EXPORT const gfx::ShadowValues& IconEndShadows(); |
| 100 | 106 |
| 101 } // namespace app_list | 107 } // namespace app_list |
| 102 | 108 |
| 103 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 109 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
| OLD | NEW |