nsIClipboardOwner.idl 748 B

123456789101112131415161718192021222324252627282930
  1. /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. *
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  6. #include "nsISupports.idl"
  7. #include "nsITransferable.idl"
  8. [scriptable, uuid(5A31C7A1-E122-11d2-9A57-000064657374)]
  9. interface nsIClipboardOwner : nsISupports
  10. {
  11. /**
  12. * Notifies the owner of the clipboard transferable that the
  13. * transferable is being removed from the clipboard
  14. *
  15. * @param aTransferable The transferable
  16. * @result NS_Ok if no errors
  17. */
  18. void LosingOwnership ( in nsITransferable aTransferable ) ;
  19. };
  20. %{ C++
  21. %}