nsIDOMClipboardEvent.idl 876 B

1234567891011121314151617181920212223
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "domstubs.idl"
  6. #include "nsISupports.idl"
  7. interface nsIDOMDataTransfer;
  8. [builtinclass, uuid(b54d6144-3980-4895-83c7-82f158bc1cf5)]
  9. interface nsIDOMClipboardEvent : nsISupports
  10. {
  11. readonly attribute nsIDOMDataTransfer clipboardData;
  12. // The constructor must be used from script to initialize
  13. // clipboard events.
  14. [noscript] void initClipboardEvent(in DOMString typeArg,
  15. in boolean canBubbleArg,
  16. in boolean cancelableArg,
  17. in nsIDOMDataTransfer clipboardData);
  18. };