| 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(0xF5, 0xF5, 0xF5); | 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF2, 0xF2, 0xF2); |
| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 case 2: | 139 case 2: |
| 140 return gfx::ShadowValue(gfx::Point(0, 2), 4, | 140 return gfx::ShadowValue(gfx::Point(0, 2), 4, |
| 141 SkColorSetARGB(0x33, 0, 0, 0)); | 141 SkColorSetARGB(0x33, 0, 0, 0)); |
| 142 default: | 142 default: |
| 143 return gfx::ShadowValue(gfx::Point(0, 8), 12, | 143 return gfx::ShadowValue(gfx::Point(0, 8), 12, |
| 144 SkColorSetARGB(0x3F, 0, 0, 0)); | 144 SkColorSetARGB(0x3F, 0, 0, 0)); |
| 145 } | 145 } |
| 146 } | 146 } |
| 147 | 147 |
| 148 } // namespace app_list | 148 } // namespace app_list |
| OLD | NEW |