Struct xpcom::interfaces::nsIAboutModule [] [src]

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

interface nsIAboutModule : nsISupports

Methods

impl nsIAboutModule
[src]

[src]

Cast this nsIAboutModule to one of its base interfaces.

impl nsIAboutModule
[src]

URI_SAFE_FOR_UNTRUSTED_CONTENT: i64 = 1
/**
     * A flag that indicates whether a URI should be run with content
     * privileges. If it is, the about: protocol handler will enforce that
     * the principal of channels created for it be based on their
     * originalURI or URI (depending on the channel flags), by setting
     * their "owner" to null.
     * If content needs to be able to link to this URI, specify
     * URI_CONTENT_LINKABLE as well.
     */

ALLOW_SCRIPT: i64 = 2
/**
     * A flag that indicates whether script should be enabled for the
     * given about: URI even if it's disabled in general.
     */

HIDE_FROM_ABOUTABOUT: i64 = 4
/**
     * A flag that indicates whether this about: URI doesn't want to be listed
     * in about:about, especially if it's not useful without a query string.
     */

ENABLE_INDEXED_DB: i64 = 8
/**
     * A flag that indicates whether this about: URI wants Indexed DB enabled.
     */

URI_CAN_LOAD_IN_CHILD: i64 = 16
/**
     * A flag that indicates that this URI can be loaded in a child process
     */

URI_MUST_LOAD_IN_CHILD: i64 = 32
/**
     * A flag that indicates that this URI must be loaded in a child process
     */

MAKE_UNLINKABLE: i64 = 64
/**
     * Obsolete. This flag no longer has any effect and will be removed in future.
     */

MAKE_LINKABLE: i64 = 128
/**
     * A flag that indicates that this URI should be linkable from content.
     * Ignored unless URI_SAFE_FOR_UNTRUSTED_CONTENT is also specified.
     */

[src]

/**
     * Constructs a new channel for the about protocol module.
     *
     * @param aURI the uri of the new channel
     * @param aLoadInfo the loadinfo of the new channel
     */

nsIChannel newChannel (in nsIURI aURI, in nsILoadInfo aLoadInfo);

[src]

/**
     * A method to get the flags that apply to a given about: URI.  The URI
     * passed in is guaranteed to be one of the URIs that this module
     * registered to deal with.
     */

unsigned long getURIFlags (in nsIURI aURI);

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 nsIAboutModule
[src]

IID: nsIID = nsID(3233914297, 7002, 19141, [182, 86, 237, 111, 129, 73, 250, 72])

[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 nsIAboutModule
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAboutModule
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.