blob: 6380f963fbfde5e1ed4938f2e935bd195dc5399f [file] [log] [blame]
// 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.
#include "ui/wm/public/drag_drop_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
namespace aura {
namespace client {
DragDropDelegate*, kDragDropDelegateKey, NULL);
void SetDragDropDelegate(Window* window, DragDropDelegate* delegate) {
window->SetProperty(kDragDropDelegateKey, delegate);
DragDropDelegate* GetDragDropDelegate(Window* window) {
return window->GetProperty(kDragDropDelegateKey);
} // namespace client
} // namespace aura