| 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. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
| 18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
| 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
| 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 <memory> |
| 27 #include "bindings/core/v8/ScriptWrappable.h" | 28 #include "bindings/core/v8/ScriptWrappable.h" |
| 28 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 29 #include "core/clipboard/DataTransferAccessPolicy.h" | 30 #include "core/clipboard/DataTransferAccessPolicy.h" |
| 30 #include "core/loader/resource/ImageResourceContent.h" | 31 #include "core/loader/resource/ImageResourceContent.h" |
| 31 #include "core/page/DragActions.h" | 32 #include "core/page/DragActions.h" |
| 32 #include "platform/geometry/IntPoint.h" | 33 #include "platform/geometry/IntPoint.h" |
| 33 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 34 #include "wtf/Forward.h" | 35 #include "platform/wtf/Forward.h" |
| 35 #include <memory> | |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class DataObject; | 39 class DataObject; |
| 40 class DataTransferItemList; | 40 class DataTransferItemList; |
| 41 class DragImage; | 41 class DragImage; |
| 42 class Element; | 42 class Element; |
| 43 class FileList; | 43 class FileList; |
| 44 class FrameSelection; | 44 class FrameSelection; |
| 45 class LocalFrame; | 45 class LocalFrame; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 Member<Node> drag_image_element_; | 151 Member<Node> drag_image_element_; |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 DragOperation ConvertDropZoneOperationToDragOperation( | 154 DragOperation ConvertDropZoneOperationToDragOperation( |
| 155 const String& drag_operation); | 155 const String& drag_operation); |
| 156 String ConvertDragOperationToDropZoneOperation(DragOperation); | 156 String ConvertDragOperationToDropZoneOperation(DragOperation); |
| 157 | 157 |
| 158 } // namespace blink | 158 } // namespace blink |
| 159 | 159 |
| 160 #endif // DataTransfer_h | 160 #endif // DataTransfer_h |
| OLD | NEW |