| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   84 const int kListIconSize = 24; |   84 const int kListIconSize = 24; | 
|   85 const int kListBadgeIconSize = 16; |   85 const int kListBadgeIconSize = 16; | 
|   86 const int kListBadgeIconOffsetX = 6; |   86 const int kListBadgeIconOffsetX = 6; | 
|   87 const int kListBadgeIconOffsetY = 6; |   87 const int kListBadgeIconOffsetY = 6; | 
|   88 const int kTileIconSize = 48; |   88 const int kTileIconSize = 48; | 
|   89  |   89  | 
|   90 const SkColor kIconColor = gfx::kChromeIconGrey; |   90 const SkColor kIconColor = gfx::kChromeIconGrey; | 
|   91  |   91  | 
|   92 // The number of apps shown in the start page app grid. |   92 // The number of apps shown in the start page app grid. | 
|   93 const size_t kNumStartPageTiles = 9; |   93 const size_t kNumStartPageTiles = 9; | 
 |   94 const size_t kNumStartPageTilesFullscreen = 5; | 
|   94  |   95  | 
|   95 // Maximum number of results to show in the launcher Search UI. |   96 // Maximum number of results to show in the launcher Search UI. | 
|   96 const size_t kMaxSearchResults = 6; |   97 const size_t kMaxSearchResults = 6; | 
|   97  |   98  | 
|   98 // Radius of the circle, in which if entered, show re-order preview. |   99 // Radius of the circle, in which if entered, show re-order preview. | 
|   99 const int kReorderDroppingCircleRadius = 35; |  100 const int kReorderDroppingCircleRadius = 35; | 
|  100  |  101  | 
|  101 // The padding around the outside of the apps grid (sides). |  102 // The padding around the outside of the apps grid (sides). | 
|  102 const int kAppsGridPadding = 24; |  103 const int kAppsGridPadding = 24; | 
|  103  |  104  | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  159 } |  160 } | 
|  160  |  161  | 
|  161 const gfx::ShadowValues& IconEndShadows() { |  162 const gfx::ShadowValues& IconEndShadows() { | 
|  162   CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, |  163   CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, | 
|  163                          (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8, |  164                          (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8, | 
|  164                                               SkColorSetARGB(0x50, 0, 0, 0)))); |  165                                               SkColorSetARGB(0x50, 0, 0, 0)))); | 
|  165   return icon_shadows; |  166   return icon_shadows; | 
|  166 } |  167 } | 
|  167  |  168  | 
|  168 }  // namespace app_list |  169 }  // namespace app_list | 
| OLD | NEW |