#ifndef UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
#define UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
#include "base/basictypes.h"
#include "ui/base/ui_base_export.h"
namespace ui {
class UI_BASE_EXPORT DragDropTypes {
public:
enum DragOperation {
DRAG_NONE = 0,
DRAG_MOVE = 1 << 0,
DRAG_COPY = 1 << 1,
DRAG_LINK = 1 << 2
};
enum DragEventSource {
DRAG_EVENT_SOURCE_MOUSE,
DRAG_EVENT_SOURCE_TOUCH,
DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH
};
#if defined(OS_WIN)
static uint32 DragOperationToDropEffect(int drag_operation);
static int DropEffectToDragOperation(uint32 effect);
#elif defined(TOOLKIT_GTK)
static int DragOperationToGdkDragAction(int drag_operation);
static int GdkDragActionToDragOperation(int gdk_drag_action);
#endif
};
}
#endif