Chromium Code Reviews| Index: ui/wm/core/shadow_types.h |
| diff --git a/ui/wm/core/shadow_types.h b/ui/wm/core/shadow_types.h |
| index ef22af7adf394e4184149157a9fd2b4edab9ff5a..2eac5e9bb580c9912ba2d8830978b7a18fb536db 100644 |
| --- a/ui/wm/core/shadow_types.h |
| +++ b/ui/wm/core/shadow_types.h |
| @@ -30,6 +30,9 @@ enum class ShadowElevation { |
| WM_EXPORT void SetShadowElevation(aura::Window* window, |
| ShadowElevation elevation); |
| +// Returns true if |i| is a valid element of ShadowElevation elements. |
|
msw
2017/02/23 22:35:12
ditto optional nit: |type| or |value|
Elliot Glaysher
2017/02/23 22:57:35
Done.
|
| +WM_EXPORT bool IsValidShadowElevation(int64_t i); |
| + |
| // A property key describing the drop shadow that should be displayed under the |
| // window. A null value is interpreted as using the default. |
| WM_EXPORT extern const aura::WindowProperty<ShadowElevation>* const |