michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: #include "nsIDOMEvent.idl" michael@0: michael@0: interface nsIDOMDataTransfer; michael@0: michael@0: [scriptable, builtinclass, uuid(8D92944A-F2E5-41F4-9CF3-D85043B90CAC)] michael@0: interface nsIDOMClipboardEvent : nsIDOMEvent michael@0: { michael@0: readonly attribute nsIDOMDataTransfer clipboardData; michael@0: michael@0: // The constructor must be used from script to initialize michael@0: // clipboard events. michael@0: [noscript] void initClipboardEvent(in DOMString typeArg, michael@0: in boolean canBubbleArg, michael@0: in boolean cancelableArg, michael@0: in nsIDOMDataTransfer clipboardData); michael@0: };