Struct xpcom::interfaces::nsITabParent [] [src]

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

interface nsITabParent : nsISupports

Methods

impl nsITabParent
[src]

[src]

Cast this nsITabParent to one of its base interfaces.

impl nsITabParent
[src]

[src]

void getChildProcessOffset (out int32_t aCssX, out int32_t aCssY);

[src]

readonly attribute boolean useAsyncPanZoom;

[src]

/**
    * Manages the docshell active state of the remote browser.
    */

attribute boolean docShellIsActive;

[src]

/**
    * Manages the docshell active state of the remote browser.
    */

attribute boolean docShellIsActive;

[src]

/**
   * Whether this tabParent is in prerender mode.
   */

[infallible] readonly attribute boolean isPrerendered;

[src]

/**
    * As an optimisation, setting the docshell's active state to
    * inactive also triggers a layer invalidation to free up some
    * potentially unhelpful memory usage. Calling preserveLayers
    * will cause the layers to be preserved even for inactive
    * docshells.
    */

void preserveLayers (in boolean aPreserveLayers);

[src]

/**
   * During interactions where painting performance
   * is more important than scrolling, we may temporarily
   * suppress the displayport. Each enable called must be matched
   * with a disable call.
   */

void suppressDisplayport (in bool aEnabled);

[src]

readonly attribute uint64_t tabId;

[src]

/**
   * The OS level process Id of the related child process.
   */

readonly attribute int32_t osPid;

[src]

/**
   * Navigate by key. If aForDocumentNavigation is true, navigate by document.
   * If aForDocumentNavigation is false, navigate by element.
   *
   * If aForward is true, navigate to the first focusable element or document.
   * If aForward is false, navigate to the last focusable element or document.
   */

void navigateByKey (in bool aForward, in bool aForDocumentNavigation);

[src]

readonly attribute boolean hasContentOpener;

[src]

/**
   * True if we've previously received layers for this tab when switching to
   * it.
   */

readonly attribute boolean hasPresented;

[src]

/**
   * Ensures that the content process which has this tab parent has all of the
   * permissions required to load a document with the given principal.
   */

void transmitPermissionsForPrincipal (in nsIPrincipal aPrincipal);

[src]

/**
   * True if any of the frames loaded in the TabChild have registered
   * an onbeforeunload event handler.
   */

readonly attribute boolean hasBeforeUnload;

[src]

/**
   * Notify APZ to start autoscrolling.
   * (aAnchorX, aAnchorY) are the coordinates of the autoscroll anchor,
   * in CSS coordinates relative to the screen. aScrollId and
   * aPresShellId identify the scroll frame that content chose to scroll.
   * Returns whether we were successfully able to notify APZ.
   * If this function returns true, APZ (which may live in another process)
   * may still reject the autoscroll, but it's then APZ's reponsibility
   * to notify content via an "autoscroll-rejected-by-apz" message.
   */

boolean startApzAutoscroll (in float aAnchorX, in float aAnchorY, in nsViewID aScrollId, in uint32_t aPresShellId);

[src]

/**
   * Notify APZ to stop autoscrolling.
   * aScrollId and aPresShellId identify the scroll frame that is being
   * autoscrolled.
   */

void stopApzAutoscroll (in nsViewID aScrollId, in uint32_t aPresShellId);

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

IID: nsIID = nsID(2387212208, 8088, 18745, [191, 145, 233, 195, 156, 213, 100, 52])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITabParent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.