PageLanguageDetectionTest has the failure rate of 5 - 6% on XP/Vista. Mark it
[chromium-blink-merge.git] / app / drag_drop_types.h
blobc3b2692b24022864b5fce5848c4016ea9dd6470b
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef APP_DRAG_DROP_TYPES_H_
6 #define APP_DRAG_DROP_TYPES_H_
8 #include "build/build_config.h"
10 #include "base/basictypes.h"
12 class DragDropTypes {
13 public:
14 enum DragOperation {
15 DRAG_NONE = 0,
16 DRAG_MOVE = 1 << 0,
17 DRAG_COPY = 1 << 1,
18 DRAG_LINK = 1 << 2
21 #if defined(OS_WIN)
22 static uint32 DragOperationToDropEffect(int drag_operation);
23 static int DropEffectToDragOperation(uint32 effect);
24 #elif !defined(OS_MACOSX)
25 static int DragOperationToGdkDragAction(int drag_operation);
26 static int GdkDragActionToDragOperation(int gdk_drag_action);
27 #endif
30 #endif // APP_DRAG_DROP_TYPES_H_