| Index: ui/gfx/shadow_value.h
|
| diff --git a/ui/gfx/shadow_value.h b/ui/gfx/shadow_value.h
|
| index c0623f3d1e2a9b1c8fb34b3b9b3aef636fbc4cc3..bf5d98d184ea3c0fbffbed3dcce5e00344cb483b 100644
|
| --- a/ui/gfx/shadow_value.h
|
| +++ b/ui/gfx/shadow_value.h
|
| @@ -41,6 +41,13 @@ class GFX_EXPORT ShadowValue {
|
| // are negative because shadow margins are outside a boundary.
|
| static Insets GetMargin(const ShadowValues& shadows);
|
|
|
| + // Gets the area inside a rectangle that would be affected by shadow blur.
|
| + // This is similar to the margin except it's positive (the blur region is
|
| + // inside a hypothetical rectangle) and it accounts for the blur both inside
|
| + // and outside the bounding box. The region inside the "blur region" would be
|
| + // a uniform color.
|
| + static Insets GetBlurRegion(const ShadowValues& shadows);
|
| +
|
| private:
|
| gfx::Vector2d offset_;
|
|
|
|
|