| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // WebCoreDragDestinationAction should be kept in sync with WebDragDestinati
onAction | 33 // WebCoreDragDestinationAction should be kept in sync with WebDragDestinati
onAction |
| 34 typedef enum { | 34 typedef enum { |
| 35 DragDestinationActionNone = 0, | 35 DragDestinationActionNone = 0, |
| 36 DragDestinationActionDHTML = 1, | 36 DragDestinationActionDHTML = 1, |
| 37 DragDestinationActionEdit = 2, | 37 DragDestinationActionEdit = 2, |
| 38 DragDestinationActionLoad = 4, | 38 DragDestinationActionLoad = 4, |
| 39 DragDestinationActionAny = UINT_MAX | 39 DragDestinationActionAny = UINT_MAX |
| 40 } DragDestinationAction; | 40 } DragDestinationAction; |
| 41 | 41 |
| 42 // WebCoreDragSourceAction should be kept in sync with WebDragSourceAction | |
| 43 typedef enum { | 42 typedef enum { |
| 44 DragSourceActionNone = 0, | 43 DragSourceActionNone, |
| 45 DragSourceActionDHTML = 1, | 44 DragSourceActionDHTML, |
| 46 DragSourceActionImage = 2, | 45 DragSourceActionImage, |
| 47 DragSourceActionLink = 4, | 46 DragSourceActionLink, |
| 48 DragSourceActionSelection = 8, | 47 DragSourceActionSelection, |
| 49 } DragSourceAction; | 48 } DragSourceAction; |
| 50 | 49 |
| 51 //matches NSDragOperation | 50 //matches NSDragOperation |
| 52 typedef enum { | 51 typedef enum { |
| 53 DragOperationNone = 0, | 52 DragOperationNone = 0, |
| 54 DragOperationCopy = 1, | 53 DragOperationCopy = 1, |
| 55 DragOperationLink = 2, | 54 DragOperationLink = 2, |
| 56 DragOperationGeneric = 4, | 55 DragOperationGeneric = 4, |
| 57 DragOperationPrivate = 8, | 56 DragOperationPrivate = 8, |
| 58 DragOperationMove = 16, | 57 DragOperationMove = 16, |
| 59 DragOperationDelete = 32, | 58 DragOperationDelete = 32, |
| 60 DragOperationEvery = UINT_MAX | 59 DragOperationEvery = UINT_MAX |
| 61 } DragOperation; | 60 } DragOperation; |
| 62 | 61 |
| 63 } | 62 } |
| 64 | 63 |
| 65 #endif // !DragActions_h | 64 #endif // !DragActions_h |
| OLD | NEW |