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 kContentsSwitcherBackgroundColor = SK_ColorWHITE; | 10 const SkColor kContentsSwitcherBackgroundColor = SK_ColorWHITE; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 // Preferred number of columns and rows in apps grid. | 61 // Preferred number of columns and rows in apps grid. |
62 const int kPreferredCols = 4; | 62 const int kPreferredCols = 4; |
63 const int kPreferredRows = 4; | 63 const int kPreferredRows = 4; |
64 const int kGridIconDimension = 48; | 64 const int kGridIconDimension = 48; |
65 | 65 |
66 // Preferred search result icon sizes. | 66 // Preferred search result icon sizes. |
67 const int kListIconSize = 32; | 67 const int kListIconSize = 32; |
68 const int kTileIconSize = 48; | 68 const int kTileIconSize = 48; |
69 | 69 |
| 70 // Preferred number of columns and rows in the centered app list apps grid. |
| 71 const int kCenteredPreferredCols = 6; |
| 72 const int kCenteredPreferredRows = 3; |
| 73 |
70 // Preferred number of columns and rows in the experimental app list apps grid. | 74 // Preferred number of columns and rows in the experimental app list apps grid. |
71 const int kExperimentalPreferredCols = 6; | 75 const int kExperimentalPreferredCols = 6; |
72 const int kExperimentalPreferredRows = 3; | 76 const int kExperimentalPreferredRows = 4; |
73 | 77 |
74 // Radius of the circle, in which if entered, show re-order preview. | 78 // Radius of the circle, in which if entered, show re-order preview. |
75 const int kReorderDroppingCircleRadius = 35; | 79 const int kReorderDroppingCircleRadius = 35; |
76 | 80 |
77 // Height of separator between the main view and contents switcher and of | 81 // Height of separator between the main view and contents switcher and of |
78 // the launcher page indicator. | 82 // the launcher page indicator. |
79 const int kContentsSwitcherSeparatorHeight = 1; | 83 const int kContentsSwitcherSeparatorHeight = 1; |
80 | 84 |
81 // Max items allowed in a folder. | 85 // Max items allowed in a folder. |
82 size_t kMaxFolderItems = 16; | 86 size_t kMaxFolderItems = 16; |
(...skipping 11 matching lines...) Expand all Loading... |
94 | 98 |
95 #if defined(OS_LINUX) | 99 #if defined(OS_LINUX) |
96 #if defined(GOOGLE_CHROME_BUILD) | 100 #if defined(GOOGLE_CHROME_BUILD) |
97 const char kAppListWMClass[] = "chrome_app_list"; | 101 const char kAppListWMClass[] = "chrome_app_list"; |
98 #else // CHROMIUM_BUILD | 102 #else // CHROMIUM_BUILD |
99 const char kAppListWMClass[] = "chromium_app_list"; | 103 const char kAppListWMClass[] = "chromium_app_list"; |
100 #endif | 104 #endif |
101 #endif | 105 #endif |
102 | 106 |
103 } // namespace app_list | 107 } // namespace app_list |
OLD | NEW |