#include "ui/wm/public/activation_delegate.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::ActivationDelegate*)
namespace wm {
DEFINE_UI_CLASS_PROPERTY_KEY(ActivationDelegate*,
kActivationDelegateKey,
nullptr)
void SetActivationDelegate(aura::Window* window, ActivationDelegate* delegate) {
window->SetProperty(kActivationDelegateKey, delegate);
}
ActivationDelegate* GetActivationDelegate(const aura::Window* window) {
return window->GetProperty(kActivationDelegateKey);
}
}