OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef DragActions_h | 26 #ifndef DragActions_h |
27 #define DragActions_h | 27 #define DragActions_h |
28 | 28 |
29 #include <limits.h> | 29 #include <limits.h> |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 // WebCoreDragDestinationAction should be kept in sync with WebDragDestinati
onAction | |
34 typedef enum { | 33 typedef enum { |
35 DragDestinationActionNone = 0, | 34 DragDestinationActionNone = 0, |
36 DragDestinationActionDHTML = 1, | 35 DragDestinationActionDHTML = 1, |
37 DragDestinationActionEdit = 2, | 36 DragDestinationActionEdit = 2, |
38 DragDestinationActionLoad = 4, | 37 DragDestinationActionLoad = 4, |
39 DragDestinationActionAny = UINT_MAX | 38 DragDestinationActionAny = UINT_MAX |
40 } DragDestinationAction; | 39 } DragDestinationAction; |
41 | 40 |
42 typedef enum { | 41 typedef enum { |
43 DragSourceActionNone, | 42 DragSourceActionNone, |
(...skipping 11 matching lines...) Expand all Loading... |
55 DragOperationGeneric = 4, | 54 DragOperationGeneric = 4, |
56 DragOperationPrivate = 8, | 55 DragOperationPrivate = 8, |
57 DragOperationMove = 16, | 56 DragOperationMove = 16, |
58 DragOperationDelete = 32, | 57 DragOperationDelete = 32, |
59 DragOperationEvery = UINT_MAX | 58 DragOperationEvery = UINT_MAX |
60 } DragOperation; | 59 } DragOperation; |
61 | 60 |
62 } | 61 } |
63 | 62 |
64 #endif // !DragActions_h | 63 #endif // !DragActions_h |
OLD | NEW |