| 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 namespace app_list { | 7 namespace app_list { |
| 8 | 8 |
| 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5); | 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5); |
| 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; | 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const int kCenteredPreferredCols = 6; | 91 const int kCenteredPreferredCols = 6; |
| 92 const int kCenteredPreferredRows = 3; | 92 const int kCenteredPreferredRows = 3; |
| 93 | 93 |
| 94 // Preferred number of columns and rows in the experimental app list apps grid. | 94 // Preferred number of columns and rows in the experimental app list apps grid. |
| 95 const int kExperimentalPreferredCols = 6; | 95 const int kExperimentalPreferredCols = 6; |
| 96 const int kExperimentalPreferredRows = 4; | 96 const int kExperimentalPreferredRows = 4; |
| 97 | 97 |
| 98 // Radius of the circle, in which if entered, show re-order preview. | 98 // Radius of the circle, in which if entered, show re-order preview. |
| 99 const int kReorderDroppingCircleRadius = 35; | 99 const int kReorderDroppingCircleRadius = 35; |
| 100 | 100 |
| 101 // The padding around the outside of the experimental app list (top and sides). | 101 // The padding around the outside of the experimental app list apps grid |
| 102 const int kExperimentalWindowPadding = 24; | 102 // (sides). |
| 103 const int kExperimentalAppsGridPadding = 24; |
| 104 |
| 105 // The padding around the outside of the experimental app list search box (top |
| 106 // and sides). |
| 107 const int kExperimentalSearchBoxPadding = 16; |
| 103 | 108 |
| 104 // Max items allowed in a folder. | 109 // Max items allowed in a folder. |
| 105 size_t kMaxFolderItems = 16; | 110 size_t kMaxFolderItems = 16; |
| 106 | 111 |
| 107 // Number of the top items in a folder, which are shown inside the folder icon | 112 // Number of the top items in a folder, which are shown inside the folder icon |
| 108 // and animated when opening and closing a folder. | 113 // and animated when opening and closing a folder. |
| 109 const size_t kNumFolderTopItems = 4; | 114 const size_t kNumFolderTopItems = 4; |
| 110 | 115 |
| 111 // Maximum length of the folder name in chars. | 116 // Maximum length of the folder name in chars. |
| 112 const size_t kMaxFolderNameChars = 40; | 117 const size_t kMaxFolderNameChars = 40; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 134 case 2: | 139 case 2: |
| 135 return gfx::ShadowValue(gfx::Point(0, 2), 4, | 140 return gfx::ShadowValue(gfx::Point(0, 2), 4, |
| 136 SkColorSetARGB(0x33, 0, 0, 0)); | 141 SkColorSetARGB(0x33, 0, 0, 0)); |
| 137 default: | 142 default: |
| 138 return gfx::ShadowValue(gfx::Point(0, 8), 12, | 143 return gfx::ShadowValue(gfx::Point(0, 8), 12, |
| 139 SkColorSetARGB(0x3F, 0, 0, 0)); | 144 SkColorSetARGB(0x3F, 0, 0, 0)); |
| 140 } | 145 } |
| 141 } | 146 } |
| 142 | 147 |
| 143 } // namespace app_list | 148 } // namespace app_list |
| OLD | NEW |