Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: ui/app_list/app_list_constants.cc

Issue 907813002: Update app list background color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_start_page_layout
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698