2001-09-28 20:14:13 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2000-01-29 04:26:29 +00:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsILoadGroup;
|
|
|
|
interface nsIChannel;
|
|
|
|
interface nsIURI;
|
2000-07-25 05:45:56 +00:00
|
|
|
interface nsIWebProgress;
|
|
|
|
interface nsIRequest;
|
2000-01-29 04:26:29 +00:00
|
|
|
|
2004-09-28 20:48:58 +00:00
|
|
|
/**
|
2004-12-08 17:32:06 +00:00
|
|
|
* An nsIDocumentLoader is an interface responsible for tracking groups of
|
|
|
|
* loads that belong together (images, external scripts, etc) and subdocuments
|
2004-09-28 20:48:58 +00:00
|
|
|
* (<iframe>, <frame>, etc). It is also responsible for sending
|
|
|
|
* nsIWebProgressListener notifications.
|
2004-12-08 17:32:06 +00:00
|
|
|
* XXXbz this interface should go away, we think...
|
2004-09-28 20:48:58 +00:00
|
|
|
*/
|
2004-12-08 17:32:06 +00:00
|
|
|
[scriptable, uuid(bbe961ee-59e9-42bb-be50-0331979bb79f)]
|
2000-01-29 04:26:29 +00:00
|
|
|
interface nsIDocumentLoader : nsISupports
|
|
|
|
{
|
2004-12-08 17:32:06 +00:00
|
|
|
// Stop all loads in the loadgroup of this docloader
|
2000-01-29 04:26:29 +00:00
|
|
|
void stop();
|
|
|
|
|
2004-12-08 17:32:06 +00:00
|
|
|
// XXXbz is this needed? For embedding? What this does is does is not
|
|
|
|
// defined by this interface!
|
|
|
|
readonly attribute nsISupports container;
|
2000-01-29 04:26:29 +00:00
|
|
|
|
2004-12-08 17:32:06 +00:00
|
|
|
// The loadgroup associated with this docloader
|
|
|
|
readonly attribute nsILoadGroup loadGroup;
|
2000-06-19 05:54:37 +00:00
|
|
|
|
2004-12-08 17:32:06 +00:00
|
|
|
// The defaultLoadRequest of the loadgroup associated with this docloader
|
|
|
|
readonly attribute nsIChannel documentChannel;
|
2000-01-29 04:26:29 +00:00
|
|
|
};
|
|
|
|
|