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

Unified Diff: ui/gfx/shadow_value.h

Issue 2951583002: Update voice interaction icon shadow (Closed)
Patch Set: missed one line when breaking out cl Created 3 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
Index: ui/gfx/shadow_value.h
diff --git a/ui/gfx/shadow_value.h b/ui/gfx/shadow_value.h
index 2362600f6e2550f407c1052adbf36d4d8ceb7cf9..7723a8b1e07e5a4b272b561baf4684b3434c4d0a 100644
--- a/ui/gfx/shadow_value.h
+++ b/ui/gfx/shadow_value.h
@@ -48,6 +48,10 @@ class GFX_EXPORT ShadowValue {
// a uniform color.
static Insets GetBlurRegion(const ShadowValues& shadows);
+ // Makes ShadowValues that should match MD style shadows for the given
+ // elevation.
+ static ShadowValues MakeMdShadowValues(int elevation);
+
private:
gfx::Vector2d offset_;

Powered by Google App Engine
This is Rietveld 408576698