2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04: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 07:26:29 +03:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsILoadGroup;
|
|
|
|
interface nsIChannel;
|
|
|
|
interface nsIURI;
|
2000-07-25 09:45:56 +04:00
|
|
|
interface nsIWebProgress;
|
|
|
|
interface nsIRequest;
|
2000-01-29 07:26:29 +03:00
|
|
|
|
2004-09-29 00:48:58 +04:00
|
|
|
/**
|
2004-12-08 20:32:06 +03:00
|
|
|
* An nsIDocumentLoader is an interface responsible for tracking groups of
|
|
|
|
* loads that belong together (images, external scripts, etc) and subdocuments
|
2004-09-29 00:48:58 +04:00
|
|
|
* (<iframe>, <frame>, etc). It is also responsible for sending
|
|
|
|
* nsIWebProgressListener notifications.
|
2004-12-08 20:32:06 +03:00
|
|
|
* XXXbz this interface should go away, we think...
|
2004-09-29 00:48:58 +04:00
|
|
|
*/
|
2004-12-08 20:32:06 +03:00
|
|
|
[scriptable, uuid(bbe961ee-59e9-42bb-be50-0331979bb79f)]
|
2000-01-29 07:26:29 +03:00
|
|
|
interface nsIDocumentLoader : nsISupports
|
|
|
|
{
|
2004-12-08 20:32:06 +03:00
|
|
|
// Stop all loads in the loadgroup of this docloader
|
2000-01-29 07:26:29 +03:00
|
|
|
void stop();
|
|
|
|
|
2004-12-08 20:32:06 +03: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 07:26:29 +03:00
|
|
|
|
2004-12-08 20:32:06 +03:00
|
|
|
// The loadgroup associated with this docloader
|
|
|
|
readonly attribute nsILoadGroup loadGroup;
|
2000-06-19 09:54:37 +04:00
|
|
|
|
2004-12-08 20:32:06 +03:00
|
|
|
// The defaultLoadRequest of the loadgroup associated with this docloader
|
|
|
|
readonly attribute nsIChannel documentChannel;
|
2000-01-29 07:26:29 +03:00
|
|
|
};
|
|
|
|
|