1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/uriloader/base/nsIDocumentLoader.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsISupports.idl" 1.10 +interface nsILoadGroup; 1.11 +interface nsIChannel; 1.12 +interface nsIURI; 1.13 +interface nsIWebProgress; 1.14 +interface nsIRequest; 1.15 + 1.16 +/** 1.17 + * An nsIDocumentLoader is an interface responsible for tracking groups of 1.18 + * loads that belong together (images, external scripts, etc) and subdocuments 1.19 + * (<iframe>, <frame>, etc). It is also responsible for sending 1.20 + * nsIWebProgressListener notifications. 1.21 + * XXXbz this interface should go away, we think... 1.22 + */ 1.23 +[scriptable, uuid(bbe961ee-59e9-42bb-be50-0331979bb79f)] 1.24 +interface nsIDocumentLoader : nsISupports 1.25 +{ 1.26 + // Stop all loads in the loadgroup of this docloader 1.27 + void stop(); 1.28 + 1.29 + // XXXbz is this needed? For embedding? What this does is does is not 1.30 + // defined by this interface! 1.31 + readonly attribute nsISupports container; 1.32 + 1.33 + // The loadgroup associated with this docloader 1.34 + readonly attribute nsILoadGroup loadGroup; 1.35 + 1.36 + // The defaultLoadRequest of the loadgroup associated with this docloader 1.37 + readonly attribute nsIChannel documentChannel; 1.38 +}; 1.39 +