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 #include "ui/app_list/app_list_constants.h" | 5 #include "ui/app_list/app_list_constants.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "ui/gfx/color_palette.h" | 8 #include "ui/gfx/color_palette.h" |
9 | 9 |
10 namespace app_list { | 10 namespace app_list { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const SkColor kIconColor = gfx::kChromeIconGrey; | 100 const SkColor kIconColor = gfx::kChromeIconGrey; |
101 | 101 |
102 // Preferred number of columns and rows in the centered app list apps grid. | 102 // Preferred number of columns and rows in the centered app list apps grid. |
103 const int kCenteredPreferredCols = 6; | 103 const int kCenteredPreferredCols = 6; |
104 const int kCenteredPreferredRows = 3; | 104 const int kCenteredPreferredRows = 3; |
105 | 105 |
106 // Preferred number of columns and rows in the experimental app list apps grid. | 106 // Preferred number of columns and rows in the experimental app list apps grid. |
107 const int kExperimentalPreferredCols = 6; | 107 const int kExperimentalPreferredCols = 6; |
108 const int kExperimentalPreferredRows = 4; | 108 const int kExperimentalPreferredRows = 4; |
109 | 109 |
| 110 // The number of apps shown in the start page app grid. |
| 111 const size_t kNumStartPageTiles = 9; |
| 112 |
110 // Radius of the circle, in which if entered, show re-order preview. | 113 // Radius of the circle, in which if entered, show re-order preview. |
111 const int kReorderDroppingCircleRadius = 35; | 114 const int kReorderDroppingCircleRadius = 35; |
112 | 115 |
113 // The padding around the outside of the experimental app list apps grid | 116 // The padding around the outside of the experimental app list apps grid |
114 // (sides). | 117 // (sides). |
115 const int kExperimentalAppsGridPadding = 24; | 118 const int kExperimentalAppsGridPadding = 24; |
116 | 119 |
117 // The padding around the outside of the experimental app list search box (top | 120 // The padding around the outside of the experimental app list search box (top |
118 // and sides). | 121 // and sides). |
119 const int kExperimentalSearchBoxPadding = 16; | 122 const int kExperimentalSearchBoxPadding = 16; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 } | 184 } |
182 | 185 |
183 const gfx::ShadowValues& IconEndShadows() { | 186 const gfx::ShadowValues& IconEndShadows() { |
184 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, | 187 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, |
185 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 4, | 188 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 4, |
186 SkColorSetARGB(0x50, 0, 0, 0)))); | 189 SkColorSetARGB(0x50, 0, 0, 0)))); |
187 return icon_shadows; | 190 return icon_shadows; |
188 } | 191 } |
189 | 192 |
190 } // namespace app_list | 193 } // namespace app_list |
OLD | NEW |