| 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(0xFA, 0xFA, 0xFA); | 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5); |
| 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; | 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; |
| 11 | 11 |
| 12 // In Windows, transparent background color will cause ugly text rendering, | 12 // In Windows, transparent background color will cause ugly text rendering, |
| 13 // therefore kContentsBackgroundColor should be used. See crbug.com/406989 | 13 // therefore kContentsBackgroundColor should be used. See crbug.com/406989 |
| 14 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
| 15 const SkColor kLabelBackgroundColor = SK_ColorTRANSPARENT; | 15 const SkColor kLabelBackgroundColor = SK_ColorTRANSPARENT; |
| 16 #else | 16 #else |
| 17 const SkColor kLabelBackgroundColor = kContentsBackgroundColor; | 17 const SkColor kLabelBackgroundColor = kContentsBackgroundColor; |
| 18 #endif | 18 #endif |
| 19 | 19 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 36 const SkColor kResultDefaultTextColor = SkColorSetRGB(0x33, 0x33, 0x33); | 36 const SkColor kResultDefaultTextColor = SkColorSetRGB(0x33, 0x33, 0x33); |
| 37 const SkColor kResultDimmedTextColor = SkColorSetRGB(0x96, 0x96, 0x96); | 37 const SkColor kResultDimmedTextColor = SkColorSetRGB(0x96, 0x96, 0x96); |
| 38 const SkColor kResultURLTextColor = SkColorSetRGB(0x00, 0x99, 0x33); | 38 const SkColor kResultURLTextColor = SkColorSetRGB(0x00, 0x99, 0x33); |
| 39 | 39 |
| 40 const SkColor kGridTitleColor = SkColorSetRGB(0x33, 0x33, 0x33); | 40 const SkColor kGridTitleColor = SkColorSetRGB(0x33, 0x33, 0x33); |
| 41 const SkColor kGridTitleHoverColor = kGridTitleColor; | 41 const SkColor kGridTitleHoverColor = kGridTitleColor; |
| 42 | 42 |
| 43 const SkColor kFolderTitleColor = SkColorSetRGB(0x33, 0x33, 0x33); | 43 const SkColor kFolderTitleColor = SkColorSetRGB(0x33, 0x33, 0x33); |
| 44 const SkColor kFolderTitleHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0); | 44 const SkColor kFolderTitleHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0); |
| 45 // Color of the folder ink bubble. | 45 // Color of the folder ink bubble. |
| 46 const SkColor kFolderBubbleColor = SkColorSetRGB(0xD7, 0xD7, 0xD7); | 46 const SkColor kFolderBubbleColor = SK_ColorWHITE; |
| 47 // Color of the folder bubble shadow. |
| 48 const SkColor kFolderShadowColor = SkColorSetRGB(0xBF, 0xBF, 0xBF); |
| 49 const float kFolderBubbleRadius = 22; |
| 50 const float kFolderShadowRadius = 22.5; |
| 51 const float kFolderShadowOffsetY = 1; |
| 47 | 52 |
| 48 // Duration in milliseconds for page transition. | 53 // Duration in milliseconds for page transition. |
| 49 const int kPageTransitionDurationInMs = 180; | 54 const int kPageTransitionDurationInMs = 180; |
| 50 | 55 |
| 51 // Duration in milliseconds for over scroll page transition. | 56 // Duration in milliseconds for over scroll page transition. |
| 52 const int kOverscrollPageTransitionDurationMs = 50; | 57 const int kOverscrollPageTransitionDurationMs = 50; |
| 53 | 58 |
| 54 // Duration in milliseconds for fading in the target page when opening | 59 // Duration in milliseconds for fading in the target page when opening |
| 55 // or closing a folder, and the duration for the top folder icon animation | 60 // or closing a folder, and the duration for the top folder icon animation |
| 56 // for flying in or out the folder. | 61 // for flying in or out the folder. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 112 |
| 108 #if defined(OS_LINUX) | 113 #if defined(OS_LINUX) |
| 109 #if defined(GOOGLE_CHROME_BUILD) | 114 #if defined(GOOGLE_CHROME_BUILD) |
| 110 const char kAppListWMClass[] = "chrome_app_list"; | 115 const char kAppListWMClass[] = "chrome_app_list"; |
| 111 #else // CHROMIUM_BUILD | 116 #else // CHROMIUM_BUILD |
| 112 const char kAppListWMClass[] = "chromium_app_list"; | 117 const char kAppListWMClass[] = "chromium_app_list"; |
| 113 #endif | 118 #endif |
| 114 #endif | 119 #endif |
| 115 | 120 |
| 116 } // namespace app_list | 121 } // namespace app_list |
| OLD | NEW |