OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
24 #ifndef DataTransfer_h | 24 #ifndef DataTransfer_h |
25 #define DataTransfer_h | 25 #define DataTransfer_h |
26 | 26 |
27 #include "bindings/core/v8/ScriptWrappable.h" | 27 #include "bindings/core/v8/ScriptWrappable.h" |
28 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
29 #include "core/clipboard/DataTransferAccessPolicy.h" | 29 #include "core/clipboard/DataTransferAccessPolicy.h" |
30 #include "core/fetch/ImageResource.h" | 30 #include "core/fetch/ImageResource.h" |
31 #include "core/fetch/ResourcePtr.h" | |
32 #include "core/page/DragActions.h" | 31 #include "core/page/DragActions.h" |
33 #include "platform/geometry/IntPoint.h" | 32 #include "platform/geometry/IntPoint.h" |
34 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
35 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
36 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
37 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" |
38 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
39 | 38 |
40 namespace blink { | 39 namespace blink { |
41 | 40 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool hasStringOfType(const String&) const; | 123 bool hasStringOfType(const String&) const; |
125 | 124 |
126 // Instead of using this member directly, prefer to use the can*() methods a
bove. | 125 // Instead of using this member directly, prefer to use the can*() methods a
bove. |
127 DataTransferAccessPolicy m_policy; | 126 DataTransferAccessPolicy m_policy; |
128 String m_dropEffect; | 127 String m_dropEffect; |
129 String m_effectAllowed; | 128 String m_effectAllowed; |
130 DataTransferType m_transferType; | 129 DataTransferType m_transferType; |
131 Member<DataObject> m_dataObject; | 130 Member<DataObject> m_dataObject; |
132 | 131 |
133 IntPoint m_dragLoc; | 132 IntPoint m_dragLoc; |
134 ResourcePtr<ImageResource> m_dragImage; | 133 RefPtrWillBeMember<ImageResource> m_dragImage; |
135 RefPtrWillBeMember<Node> m_dragImageElement; | 134 RefPtrWillBeMember<Node> m_dragImageElement; |
136 }; | 135 }; |
137 | 136 |
138 DragOperation convertDropZoneOperationToDragOperation(const String& dragOperatio
n); | 137 DragOperation convertDropZoneOperationToDragOperation(const String& dragOperatio
n); |
139 String convertDragOperationToDropZoneOperation(DragOperation); | 138 String convertDragOperationToDropZoneOperation(DragOperation); |
140 | 139 |
141 } // namespace blink | 140 } // namespace blink |
142 | 141 |
143 #endif // DataTransfer_h | 142 #endif // DataTransfer_h |
OLD | NEW |