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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 // Duration in milliseconds for page transition. | 30 // Duration in milliseconds for page transition. |
31 const int kPageTransitionDurationInMs = 180; | 31 const int kPageTransitionDurationInMs = 180; |
32 | 32 |
33 // Duration in milliseconds for over scroll page transition. | 33 // Duration in milliseconds for over scroll page transition. |
34 const int kOverscrollPageTransitionDurationMs = 50; | 34 const int kOverscrollPageTransitionDurationMs = 50; |
35 | 35 |
36 // Preferred number of columns and rows in apps grid. | 36 // Preferred number of columns and rows in apps grid. |
37 const int kPreferredCols = 4; | 37 const int kPreferredCols = 4; |
38 const int kPreferredRows = 4; | 38 const int kPreferredRows = 4; |
| 39 const int kPreferredIconDimension = 48; |
39 | 40 |
40 // Font style for app item labels. | 41 // Font style for app item labels. |
41 const ui::ResourceBundle::FontStyle kItemTextFontStyle = | 42 const ui::ResourceBundle::FontStyle kItemTextFontStyle = |
42 ui::ResourceBundle::SmallBoldFont; | 43 ui::ResourceBundle::SmallBoldFont; |
43 | 44 |
44 } // namespace app_list | 45 } // namespace app_list |
OLD | NEW |