| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 // Animation curve used for fading out the target page when opening or closing | 52 // Animation curve used for fading out the target page when opening or closing |
| 53 // a folder. | 53 // a folder. |
| 54 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::EASE_IN_3; | 54 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::EASE_IN_3; |
| 55 | 55 |
| 56 // Preferred number of columns and rows in apps grid. | 56 // Preferred number of columns and rows in apps grid. |
| 57 const int kPreferredCols = 4; | 57 const int kPreferredCols = 4; |
| 58 const int kPreferredRows = 4; | 58 const int kPreferredRows = 4; |
| 59 const int kPreferredIconDimension = 48; | 59 const int kPreferredIconDimension = 48; |
| 60 | 60 |
| 61 // Preferred number of columns and rows in the experimental app list apps grid. |
| 62 const int kExperimentalPreferredCols = 6; |
| 63 const int kExperimentalPreferredRows = 3; |
| 64 |
| 61 // Number of the top items in a folder, which are shown inside the folder icon | 65 // Number of the top items in a folder, which are shown inside the folder icon |
| 62 // and animated when opening and closing a folder. | 66 // and animated when opening and closing a folder. |
| 63 const size_t kNumFolderTopItems = 4; | 67 const size_t kNumFolderTopItems = 4; |
| 64 | 68 |
| 65 // Font style for app item labels. | 69 // Font style for app item labels. |
| 66 const ui::ResourceBundle::FontStyle kItemTextFontStyle = | 70 const ui::ResourceBundle::FontStyle kItemTextFontStyle = |
| 67 ui::ResourceBundle::SmallBoldFont; | 71 ui::ResourceBundle::SmallBoldFont; |
| 68 | 72 |
| 69 #if defined(OS_LINUX) | 73 #if defined(OS_LINUX) |
| 70 #if defined(GOOGLE_CHROME_BUILD) | 74 #if defined(GOOGLE_CHROME_BUILD) |
| 71 const char kAppListWMClass[] = "chrome_app_list"; | 75 const char kAppListWMClass[] = "chrome_app_list"; |
| 72 #else // CHROMIUM_BUILD | 76 #else // CHROMIUM_BUILD |
| 73 const char kAppListWMClass[] = "chromium_app_list"; | 77 const char kAppListWMClass[] = "chromium_app_list"; |
| 74 #endif | 78 #endif |
| 75 #endif | 79 #endif |
| 76 | 80 |
| 77 } // namespace app_list | 81 } // namespace app_list |
| OLD | NEW |