| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 APP_LIST_EXPORT extern const int kGridIconDimension; | 63 APP_LIST_EXPORT extern const int kGridIconDimension; |
| 64 | 64 |
| 65 APP_LIST_EXPORT extern const int kListIconSize; | 65 APP_LIST_EXPORT extern const int kListIconSize; |
| 66 APP_LIST_EXPORT extern const int kListBadgeIconSize; | 66 APP_LIST_EXPORT extern const int kListBadgeIconSize; |
| 67 APP_LIST_EXPORT extern const int kListBadgeIconOffsetX; | 67 APP_LIST_EXPORT extern const int kListBadgeIconOffsetX; |
| 68 APP_LIST_EXPORT extern const int kListBadgeIconOffsetY; | 68 APP_LIST_EXPORT extern const int kListBadgeIconOffsetY; |
| 69 APP_LIST_EXPORT extern const int kTileIconSize; | 69 APP_LIST_EXPORT extern const int kTileIconSize; |
| 70 | 70 |
| 71 APP_LIST_EXPORT extern const SkColor kIconColor; | 71 APP_LIST_EXPORT extern const SkColor kIconColor; |
| 72 | 72 |
| 73 APP_LIST_EXPORT extern const int kCenteredPreferredCols; | |
| 74 APP_LIST_EXPORT extern const int kCenteredPreferredRows; | |
| 75 | |
| 76 APP_LIST_EXPORT extern const int kExperimentalPreferredCols; | |
| 77 APP_LIST_EXPORT extern const int kExperimentalPreferredRows; | |
| 78 | |
| 79 APP_LIST_EXPORT extern const size_t kNumStartPageTiles; | 73 APP_LIST_EXPORT extern const size_t kNumStartPageTiles; |
| 80 APP_LIST_EXPORT extern const size_t kMaxSearchResults; | 74 APP_LIST_EXPORT extern const size_t kMaxSearchResults; |
| 81 | 75 |
| 82 APP_LIST_EXPORT extern const int kReorderDroppingCircleRadius; | 76 APP_LIST_EXPORT extern const int kReorderDroppingCircleRadius; |
| 83 | 77 |
| 84 APP_LIST_EXPORT extern const int kExperimentalAppsGridPadding; | 78 APP_LIST_EXPORT extern const int kAppsGridPadding; |
| 85 APP_LIST_EXPORT extern const int kExperimentalSearchBoxPadding; | 79 APP_LIST_EXPORT extern const int kSearchBoxPadding; |
| 86 | 80 |
| 87 APP_LIST_EXPORT extern size_t kMaxFolderItems; | 81 APP_LIST_EXPORT extern size_t kMaxFolderItems; |
| 88 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; | 82 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; |
| 89 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; | 83 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; |
| 90 | 84 |
| 91 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; | 85 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; |
| 92 | 86 |
| 93 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; | 87 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; |
| 94 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; | 88 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; |
| 95 APP_LIST_EXPORT extern const char kSearchQueryLength[]; | 89 APP_LIST_EXPORT extern const char kSearchQueryLength[]; |
| 96 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[]; | 90 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[]; |
| 97 | 91 |
| 98 #if defined(OS_LINUX) | 92 #if defined(OS_LINUX) |
| 99 // The WM_CLASS name for the app launcher window on Linux. | 93 // The WM_CLASS name for the app launcher window on Linux. |
| 100 APP_LIST_EXPORT extern const char kAppListWMClass[]; | 94 APP_LIST_EXPORT extern const char kAppListWMClass[]; |
| 101 #endif | 95 #endif |
| 102 | 96 |
| 103 // Returns the shadow values for a view at |z_height|. | 97 // Returns the shadow values for a view at |z_height|. |
| 104 APP_LIST_EXPORT gfx::ShadowValue GetShadowForZHeight(int z_height); | 98 APP_LIST_EXPORT gfx::ShadowValue GetShadowForZHeight(int z_height); |
| 105 | 99 |
| 106 APP_LIST_EXPORT const gfx::ShadowValues& IconStartShadows(); | 100 APP_LIST_EXPORT const gfx::ShadowValues& IconStartShadows(); |
| 107 APP_LIST_EXPORT const gfx::ShadowValues& IconEndShadows(); | 101 APP_LIST_EXPORT const gfx::ShadowValues& IconEndShadows(); |
| 108 | 102 |
| 109 } // namespace app_list | 103 } // namespace app_list |
| 110 | 104 |
| 111 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 105 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
| OLD | NEW |