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