/* * Copyright (C) 2001 Peter Kelly ([email protected]) * Copyright (C) 2001 Tobias Anton ([email protected]) * Copyright (C) 2006 Samuel Weinig ([email protected]) * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_DATA_TRANSFER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_DATA_TRANSFER_H_ #include <memory> #include "third_party/blink/public/common/page/drag_operation.h" #include "third_party/blink/renderer/core/clipboard/data_object.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/keywords.h" #include "third_party/blink/renderer/core/loader/resource/image_resource_content.h" #include "third_party/blink/renderer/platform/bindings/script_wrappable.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer/platform/wtf/forward.h" #include "third_party/blink/renderer/platform/wtf/text/atomic_string.h" #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-blink-forward.h" #include "ui/gfx/geometry/point.h" namespace blink { class DataTransferItemList; class DragImage; class Element; class FileList; class FrameSelection; class LocalFrame; class Node; class PaintRecordBuilder; class PropertyTreeState; enum class DataTransferAccessPolicy; // Used for drag and drop and copy/paste. // Drag and Drop: // https://html.spec.whatwg.org/multipage/dnd.html // Clipboard API (copy/paste): // https://w3c.github.io/clipboard-apis/ class CORE_EXPORT DataTransfer final : public ScriptWrappable, public DataObject::Observer { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_DATA_TRANSFER_H_