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

Unified Diff: ui/app_list/app_list_constants.cc

Issue 1154323002: Use app list item shadow for app list folders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_arrow_keys_crash
Patch Set: fix mac compile Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/app_list_folder_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_constants.cc
diff --git a/ui/app_list/app_list_constants.cc b/ui/app_list/app_list_constants.cc
index 56d10b1acc1ab299d29be443074faa0082eed582..ad73455fdb72d61ab09c6a4e2a4a316dbeee6d39 100644
--- a/ui/app_list/app_list_constants.cc
+++ b/ui/app_list/app_list_constants.cc
@@ -48,8 +48,7 @@ const SkColor kFolderBubbleColor = SK_ColorWHITE;
// Color of the folder bubble shadow.
const SkColor kFolderShadowColor = SkColorSetRGB(0xBF, 0xBF, 0xBF);
const float kFolderBubbleRadius = 23;
-const float kFolderShadowRadius = 23.5;
-const float kFolderShadowOffsetY = 1;
+const float kFolderBubbleOffsetY = 1;
const SkColor kCardBackgroundColor = SK_ColorWHITE;
@@ -164,8 +163,8 @@ gfx::ShadowValue GetShadowForZHeight(int z_height) {
const gfx::ShadowValues& IconStartShadows() {
CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows,
- (1, gfx::ShadowValue(gfx::Vector2d(0, 2), 2,
- SkColorSetARGB(0x24, 0, 0, 0))));
+ (1, gfx::ShadowValue(gfx::Vector2d(0, 1), 2,
+ SkColorSetARGB(0x33, 0, 0, 0))));
return icon_shadows;
}
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/app_list_folder_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698