nsIDocumentLoader.idl 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  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 "nsISupports.idl"
  6. interface nsILoadGroup;
  7. interface nsIChannel;
  8. interface nsIURI;
  9. interface nsIWebProgress;
  10. interface nsIRequest;
  11. /**
  12. * An nsIDocumentLoader is an interface responsible for tracking groups of
  13. * loads that belong together (images, external scripts, etc) and subdocuments
  14. * (<iframe>, <frame>, etc). It is also responsible for sending
  15. * nsIWebProgressListener notifications.
  16. * XXXbz this interface should go away, we think...
  17. */
  18. [scriptable, uuid(bbe961ee-59e9-42bb-be50-0331979bb79f)]
  19. interface nsIDocumentLoader : nsISupports
  20. {
  21. // Stop all loads in the loadgroup of this docloader
  22. void stop();
  23. // XXXbz is this needed? For embedding? What this does is does is not
  24. // defined by this interface!
  25. readonly attribute nsISupports container;
  26. // The loadgroup associated with this docloader
  27. readonly attribute nsILoadGroup loadGroup;
  28. // The defaultLoadRequest of the loadgroup associated with this docloader
  29. readonly attribute nsIChannel documentChannel;
  30. };