This source file includes following definitions.
- SetShadowType
- GetShadowType
#include "ui/wm/core/shadow_types.h"
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(wm::ShadowType);
namespace wm {
void SetShadowType(aura::Window* window, ShadowType shadow_type) {
window->SetProperty(kShadowTypeKey, shadow_type);
}
ShadowType GetShadowType(aura::Window* window) {
return window->GetProperty(kShadowTypeKey);
}
DEFINE_WINDOW_PROPERTY_KEY(ShadowType, kShadowTypeKey, SHADOW_TYPE_NONE);
}