| Index: ui/aura/drag_drop_controller.h
|
| diff --git a/ui/aura/drag_drop_controller.h b/ui/aura/drag_drop_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8f8911ca7f9b3fb37bd682061a47b335599f9471
|
| --- /dev/null
|
| +++ b/ui/aura/drag_drop_controller.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright (c) 2011 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_AURA_DRAG_DROP_CONTROLLER_H_
|
| +#define UI_AURA_DRAG_DROP_CONTROLLER_H_
|
| +#pragma once
|
| +
|
| +#include "ui/aura/aura_export.h"
|
| +#include "ui/aura/event.h"
|
| +#include "ui/base/dragdrop/os_exchange_data.h"
|
| +#include "ui/gfx/point.h"
|
| +
|
| +namespace aura {
|
| +
|
| +class MouseEvent;
|
| +
|
| +class AURA_EXPORT DragDropController {
|
| + public:
|
| + virtual ~DragDropController() {}
|
| +
|
| + virtual void StartDragAndDrop(const ui::OSExchangeData& data,
|
| + int operation,
|
| + const gfx::Point& location) = 0;
|
| +
|
| + virtual void DragUpdate(const MouseEvent& event) = 0;
|
| +
|
| + virtual void Drop(const MouseEvent& event) = 0;
|
| +};
|
| +
|
| +} // namespace aura
|
| +
|
| +#endif // UI_AURA_DRAG_DROP_CONTROLLER_H_
|
|
|