// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_WM_CORE_SHADOW_TYPES_H_ #define UI_WM_CORE_SHADOW_TYPES_H_ #include "ui/aura/window.h" #include "ui/wm/core/wm_core_export.h" namespace aura { class Window; } namespace wm { // Different types of drop shadows that can be drawn under a window by the // shell. Used as a value for the kShadowTypeKey property. enum ShadowType { // Starts at 0 due to the cast in GetShadowType(). SHADOW_TYPE_NONE = 0, SHADOW_TYPE_RECTANGULAR, }; WM_CORE_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type); WM_CORE_EXPORT ShadowType GetShadowType(aura::Window* window); // A property key describing the drop shadow that should be displayed under the // window. If unset, no shadow is displayed. extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; } // namespace wm #endif // UI_WM_CORE_SHADOW_TYPES_H_