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

Unified Diff: ui/gfx/shadow_value.h

Issue 2951583002: Update voice interaction icon shadow (Closed)
Patch Set: 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
« no previous file with comments | « ui/gfx/shadow_util.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/shadow_value.h
diff --git a/ui/gfx/shadow_value.h b/ui/gfx/shadow_value.h
index bf5d98d184ea3c0fbffbed3dcce5e00344cb483b..6f947a686e7594367a4282ba3a226331d4f9ecf7 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 const ShadowValues MakeShadowValues(int elevation);
sky 2017/06/19 21:48:27 Remove the const. Also, this needs a more descript
xc 2017/06/19 21:57:18 MakeMDShadowValues? This method is used by ash an
sky 2017/06/20 16:21:49 Ok, I get it. I'm fine with MakeMdShadowValues.
xc 2017/06/21 03:28:24 Updated the name.
+
private:
gfx::Vector2d offset_;
« no previous file with comments | « ui/gfx/shadow_util.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698