| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_AURA_SHELL_SHADOW_TYPES_H_ | |
| 6 #define UI_AURA_SHELL_SHADOW_TYPES_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "ui/aura_shell/aura_shell_export.h" | |
| 10 | |
| 11 namespace aura { | |
| 12 class Window; | |
| 13 } | |
| 14 | |
| 15 namespace aura_shell { | |
| 16 namespace internal { | |
| 17 | |
| 18 // Different types of drop shadows that can be drawn under a window by the | |
| 19 // shell. Used as a value for the kShadowTypeKey property. | |
| 20 enum ShadowType { | |
| 21 // Starts at 0 due to the cast in GetShadowType(). | |
| 22 SHADOW_TYPE_NONE = 0, | |
| 23 SHADOW_TYPE_RECTANGULAR, | |
| 24 }; | |
| 25 | |
| 26 AURA_SHELL_EXPORT void SetShadowType(aura::Window* window, | |
| 27 ShadowType shadow_type); | |
| 28 AURA_SHELL_EXPORT ShadowType GetShadowType(aura::Window* window); | |
| 29 | |
| 30 } // namespace internal | |
| 31 } // namespace aura_shell | |
| 32 | |
| 33 #endif // UI_AURA_SHELL_SHADOW_TYPES_H_ | |
| OLD | NEW |