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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Preferred number of columns and rows in the experimental app list apps grid. | 73 // Preferred number of columns and rows in the experimental app list apps grid. |
74 const int kExperimentalPreferredCols = 6; | 74 const int kExperimentalPreferredCols = 6; |
75 const int kExperimentalPreferredRows = 4; | 75 const int kExperimentalPreferredRows = 4; |
76 | 76 |
77 // Radius of the circle, in which if entered, show re-order preview. | 77 // Radius of the circle, in which if entered, show re-order preview. |
78 const int kReorderDroppingCircleRadius = 35; | 78 const int kReorderDroppingCircleRadius = 35; |
79 | 79 |
80 // The padding around the outside of the experimental app list (top and sides). | 80 // The padding around the outside of the experimental app list (top and sides). |
81 const int kExperimentalWindowPadding = 23; | 81 const int kExperimentalWindowPadding = 23; |
82 | 82 |
83 // Height of separator between the main view and contents switcher and of | |
84 // the launcher page indicator. | |
85 const int kContentsSwitcherSeparatorHeight = 1; | |
86 | |
87 // Max items allowed in a folder. | 83 // Max items allowed in a folder. |
88 size_t kMaxFolderItems = 16; | 84 size_t kMaxFolderItems = 16; |
89 | 85 |
90 // Number of the top items in a folder, which are shown inside the folder icon | 86 // Number of the top items in a folder, which are shown inside the folder icon |
91 // and animated when opening and closing a folder. | 87 // and animated when opening and closing a folder. |
92 const size_t kNumFolderTopItems = 4; | 88 const size_t kNumFolderTopItems = 4; |
93 | 89 |
94 // Maximum length of the folder name in chars. | 90 // Maximum length of the folder name in chars. |
95 const size_t kMaxFolderNameChars = 40; | 91 const size_t kMaxFolderNameChars = 40; |
96 | 92 |
97 // Font style for app item labels. | 93 // Font style for app item labels. |
98 const ui::ResourceBundle::FontStyle kItemTextFontStyle = | 94 const ui::ResourceBundle::FontStyle kItemTextFontStyle = |
99 ui::ResourceBundle::SmallBoldFont; | 95 ui::ResourceBundle::SmallBoldFont; |
100 | 96 |
101 #if defined(OS_LINUX) | 97 #if defined(OS_LINUX) |
102 #if defined(GOOGLE_CHROME_BUILD) | 98 #if defined(GOOGLE_CHROME_BUILD) |
103 const char kAppListWMClass[] = "chrome_app_list"; | 99 const char kAppListWMClass[] = "chrome_app_list"; |
104 #else // CHROMIUM_BUILD | 100 #else // CHROMIUM_BUILD |
105 const char kAppListWMClass[] = "chromium_app_list"; | 101 const char kAppListWMClass[] = "chromium_app_list"; |
106 #endif | 102 #endif |
107 #endif | 103 #endif |
108 | 104 |
109 } // namespace app_list | 105 } // namespace app_list |
OLD | NEW |