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(0xFB, 0xFB, 0xFB); | 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xFB, 0xFB, 0xFB); |
10 const SkColor kSearchBoxBackground = SK_ColorWHITE; | 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 // Duration in milliseconds for fading out the old page when opening or | 43 // Duration in milliseconds for fading out the old page when opening or |
44 // closing a folder. | 44 // closing a folder. |
45 const int kFolderTransitionOutDurationMs = 30; | 45 const int kFolderTransitionOutDurationMs = 30; |
46 | 46 |
47 // Preferred number of columns and rows in apps grid. | 47 // Preferred number of columns and rows in apps grid. |
48 const int kPreferredCols = 4; | 48 const int kPreferredCols = 4; |
49 const int kPreferredRows = 4; | 49 const int kPreferredRows = 4; |
50 const int kPreferredIconDimension = 48; | 50 const int kPreferredIconDimension = 48; |
51 | 51 |
| 52 // Preferred number of columns and rows in the experimental app list apps grid. |
| 53 const int kExperimentalPreferredCols = 6; |
| 54 const int kExperimentalPreferredRows = 3; |
| 55 |
52 // Number of the top items in a folder, which are shown inside the folder icon | 56 // Number of the top items in a folder, which are shown inside the folder icon |
53 // and animated when opening and closing a folder. | 57 // and animated when opening and closing a folder. |
54 const size_t kNumFolderTopItems = 4; | 58 const size_t kNumFolderTopItems = 4; |
55 | 59 |
56 // Font style for app item labels. | 60 // Font style for app item labels. |
57 const ui::ResourceBundle::FontStyle kItemTextFontStyle = | 61 const ui::ResourceBundle::FontStyle kItemTextFontStyle = |
58 ui::ResourceBundle::SmallBoldFont; | 62 ui::ResourceBundle::SmallBoldFont; |
59 | 63 |
60 #if defined(OS_LINUX) | 64 #if defined(OS_LINUX) |
61 #if defined(GOOGLE_CHROME_BUILD) | 65 #if defined(GOOGLE_CHROME_BUILD) |
62 const char kAppListWMClass[] = "chrome_app_list"; | 66 const char kAppListWMClass[] = "chrome_app_list"; |
63 #else // CHROMIUM_BUILD | 67 #else // CHROMIUM_BUILD |
64 const char kAppListWMClass[] = "chromium_app_list"; | 68 const char kAppListWMClass[] = "chromium_app_list"; |
65 #endif | 69 #endif |
66 #endif | 70 #endif |
67 | 71 |
68 } // namespace app_list | 72 } // namespace app_list |
OLD | NEW |