| Index: ui/gfx/shadow_value.h
|
| diff --git a/ui/gfx/shadow_value.h b/ui/gfx/shadow_value.h
|
| index 8ca9196394c7dd4893c3d8ee5f2f06d1c5912483..06f5026c21e3869d38bd3f95d31e5f6886510397 100644
|
| --- a/ui/gfx/shadow_value.h
|
| +++ b/ui/gfx/shadow_value.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_GFX_SHADOW_VALUE_
|
| -#define UI_GFX_SHADOW_VALUE_
|
| +#ifndef UI_GFX_SHADOW_VALUE_H_
|
| +#define UI_GFX_SHADOW_VALUE_H_
|
| #pragma once
|
|
|
| #include <string>
|
| @@ -17,6 +17,9 @@ namespace gfx {
|
|
|
| class Insets;
|
|
|
| +class ShadowValue;
|
| +typedef std::vector<ShadowValue> ShadowValues;
|
| +
|
| // ShadowValue encapsulates parameters needed to define a shadow, including the
|
| // shadow's offset, blur amount and color.
|
| class UI_EXPORT ShadowValue {
|
| @@ -35,7 +38,7 @@ class UI_EXPORT ShadowValue {
|
|
|
| // Gets margin space needed for shadows. Note that values in returned Insets
|
| // are negative because shadow margins are outside a boundary.
|
| - static Insets GetMargin(const std::vector<ShadowValue>& shadows);
|
| + static Insets GetMargin(const ShadowValues& shadows);
|
|
|
| private:
|
| gfx::Point offset_;
|
| @@ -55,4 +58,4 @@ class UI_EXPORT ShadowValue {
|
|
|
| } // namespace gfx
|
|
|
| -#endif // UI_GFX_SHADOW_VALUE_
|
| +#endif // UI_GFX_SHADOW_VALUE_H_
|
|
|