Chromium Code Reviews| 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_; |