OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 2009, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef DataObject_h | 31 #ifndef DataObject_h |
32 #define DataObject_h | 32 #define DataObject_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/clipboard/DataObjectItem.h" | 35 #include "core/clipboard/DataObjectItem.h" |
36 #include "platform/PasteMode.h" | 36 #include "platform/PasteMode.h" |
37 #include "platform/Supplementable.h" | 37 #include "platform/Supplementable.h" |
38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
39 #include "wtf/PassRefPtr.h" | 39 #include "platform/wtf/PassRefPtr.h" |
40 #include "wtf/Vector.h" | 40 #include "platform/wtf/Vector.h" |
41 #include "wtf/text/StringHash.h" | 41 #include "platform/wtf/text/StringHash.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "platform/wtf/text/WTFString.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class KURL; | 46 class KURL; |
47 class SharedBuffer; | 47 class SharedBuffer; |
48 class WebDragData; | 48 class WebDragData; |
49 | 49 |
50 // A data object for holding data that would be in a clipboard or moved | 50 // A data object for holding data that would be in a clipboard or moved |
51 // during a drag-n-drop operation. This is the data that WebCore is aware | 51 // during a drag-n-drop operation. This is the data that WebCore is aware |
52 // of and is not specific to a platform. | 52 // of and is not specific to a platform. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 HeapVector<Member<DataObjectItem>> item_list_; | 125 HeapVector<Member<DataObjectItem>> item_list_; |
126 | 126 |
127 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons | 127 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons |
128 int modifiers_; | 128 int modifiers_; |
129 String filesystem_id_; | 129 String filesystem_id_; |
130 }; | 130 }; |
131 | 131 |
132 } // namespace blink | 132 } // namespace blink |
133 | 133 |
134 #endif | 134 #endif |
OLD | NEW |