Struct xpcom::interfaces::nsIWebBrowserPersistResourceVisitor [] [src]

#[repr(C)]
pub struct nsIWebBrowserPersistResourceVisitor { /* fields omitted */ }

interface nsIWebBrowserPersistResourceVisitor : nsISupports

Methods

impl nsIWebBrowserPersistResourceVisitor
[src]

[src]

Cast this nsIWebBrowserPersistResourceVisitor to one of its base interfaces.

impl nsIWebBrowserPersistResourceVisitor
[src]

[src]

/**
 * Asynchronous visitor that receives external resources linked by an
 * nsIWebBrowserPersistDocument and which are needed to render the
 * document.
 */
/**
   * Indicates a resource that is not a document; e.g., an image, script,
   * or stylesheet.
   *
   * @param aDocument   The document containing the reference.
   * @param aURI        The absolute URI spec for the referenced resource.
   */

void visitResource (in nsIWebBrowserPersistDocument aDocument, in AUTF8String aURI);

[src]

/**
   * Indicates a subdocument resource; e.g., a frame or iframe.
   *
   * @param aDocument     The document containing the reference.
   * @param aSubDocument  The referenced document.
   */

void visitDocument (in nsIWebBrowserPersistDocument aDocument, in nsIWebBrowserPersistDocument aSubDocument);

[src]

/**
   * Indicates that the document traversal is complete.
   *
   * @param aDocument   The document that was being traversed.
   * @param aStatus     Indicates whether the traversal encountered an error.
   */

void endVisit (in nsIWebBrowserPersistDocument aDocument, in nsresult aStatus);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIWebBrowserPersistResourceVisitor
[src]

IID: nsIID = nsID(2363717382, 47059, 18458, [190, 104, 84, 241, 116, 252, 13, 10])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIWebBrowserPersistResourceVisitor
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWebBrowserPersistResourceVisitor
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.