Struct xpcom::interfaces::nsIMozBrowserFrame [] [src]

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

interface nsIMozBrowserFrame : nsIDOMMozBrowserFrame

Methods

impl nsIMozBrowserFrame
[src]

[src]

Cast this nsIMozBrowserFrame to one of its base interfaces.

impl nsIMozBrowserFrame
[src]

[src]

/**
   * Gets whether this frame really is a browser frame.
   *
   * In order to really be a browser frame, this frame's
   * nsIDOMMozBrowserFrame::mozbrowser attribute must be true, and the frame
   * may have to pass various security checks.
   */

[infallible] readonly attribute boolean reallyIsBrowser;

[src]

/**
   * Gets whether this frame is an isolated frame.
   *
   * By default, browser frames are isolated, meaning they have a principal
   * where OriginAttributes.mIsInIsolatedMozBrowser == true.  This isolates
   * storage and other origin related items from non-browser apps, xul:browsers,
   * etc.
   *
   * Isolation can be disabled by setting the frame's isolated attribute to
   * false.  Disabling isolation is only allowed if the containing document has
   * browser permission (or equivalent access).
   */

[infallible] readonly attribute boolean isolated;

[src]

/**
   * Normally, a frame tries to create its frame loader when its src is
   * modified, or its contentWindow is accessed.
   *
   * disallowCreateFrameLoader prevents the frame element from creating its
   * frame loader (in the same way that not being inside a document prevents the
   * creation of a frame loader).  allowCreateFrameLoader lifts this restriction.
   *
   * These methods are not re-entrant -- it is an error to call
   * disallowCreateFrameLoader twice without first calling allowFrameLoader.
   *
   * It's also an error to call either method if we already have a frame loader.
   */

void disallowCreateFrameLoader ();

[src]

void allowCreateFrameLoader ();

[src]

/**
   * Create a remote (i.e., out-of-process) frame loader attached to the given
   * tab parent.
   *
   * It is an error to call this method if we already have a frame loader.
   */

void createRemoteFrameLoader (in nsITabParent aTabParent);

[src]

/**
   * Initialize the API, and add frame message listener that supports API
   * invocations.
   */

[noscript] void initializeBrowserAPI ();

[src]

/**
   * Notify frame scripts that support the API to destroy.
   */

[noscript] void destroyBrowserFrameScripts ();

Methods from Deref<Target = nsIDOMMozBrowserFrame>

[src]

Cast this nsIDOMMozBrowserFrame to one of its base interfaces.

[src]

/**
   * <iframe> element may have the mozbrowser attribute.
   *
   * The mozbrowser attribute has no effect unless the <iframe> element is
   * contained in a document privileged to create browser frames.
   *
   * An <iframe> element in a privileged document with the mozbrowser attribute
   * emits a variety of events when various things happen inside the frame.
   *
   * This will be documented eventually, but for more information at the moment,
   * see dom/browser-element/BrowserElement{Child,Parent}.js.
   *
   */

attribute boolean mozbrowser;

[src]

/**
   * <iframe> element may have the mozbrowser attribute.
   *
   * The mozbrowser attribute has no effect unless the <iframe> element is
   * contained in a document privileged to create browser frames.
   *
   * An <iframe> element in a privileged document with the mozbrowser attribute
   * emits a variety of events when various things happen inside the frame.
   *
   * This will be documented eventually, but for more information at the moment,
   * see dom/browser-element/BrowserElement{Child,Parent}.js.
   *
   */

attribute boolean mozbrowser;

Trait Implementations

impl XpCom for nsIMozBrowserFrame
[src]

IID: nsIID = nsID(202016300, 6727, 17344, [174, 158, 213, 24, 53, 227, 225, 166])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIMozBrowserFrame
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.