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

Unified Diff: ui/app_list/app_list_constants.cc

Issue 2733363002: Update last few users of deprecated CreateShadowDrawLooper and remove (Closed)
Patch Set: Created 3 years, 9 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 | « content/browser/web_contents/aura/gesture_nav_simple.cc ('k') | ui/gfx/image/image_skia_operations.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 730535d6184f305bb6b585561fa538d1fb111883..0891e380e5fd0b27f08999ff381e3d85e0592bb4 100644
--- a/ui/app_list/app_list_constants.cc
+++ b/ui/app_list/app_list_constants.cc
@@ -154,27 +154,27 @@ gfx::ShadowValue GetShadowForZHeight(int z_height) {
switch (z_height) {
case 1:
- return gfx::ShadowValue(gfx::Vector2d(0, 1), 2,
+ return gfx::ShadowValue(gfx::Vector2d(0, 1), 4,
SkColorSetARGB(0x4C, 0, 0, 0));
case 2:
- return gfx::ShadowValue(gfx::Vector2d(0, 2), 4,
+ return gfx::ShadowValue(gfx::Vector2d(0, 2), 8,
SkColorSetARGB(0x33, 0, 0, 0));
default:
- return gfx::ShadowValue(gfx::Vector2d(0, 8), 12,
+ return gfx::ShadowValue(gfx::Vector2d(0, 8), 24,
SkColorSetARGB(0x3F, 0, 0, 0));
}
}
const gfx::ShadowValues& IconStartShadows() {
CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows,
- (1, gfx::ShadowValue(gfx::Vector2d(0, 1), 2,
+ (1, gfx::ShadowValue(gfx::Vector2d(0, 1), 4,
SkColorSetARGB(0x33, 0, 0, 0))));
return icon_shadows;
}
const gfx::ShadowValues& IconEndShadows() {
CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows,
- (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 4,
+ (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8,
SkColorSetARGB(0x50, 0, 0, 0))));
return icon_shadows;
}
« no previous file with comments | « content/browser/web_contents/aura/gesture_nav_simple.cc ('k') | ui/gfx/image/image_skia_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698