Struct xpcom::interfaces::nsIPluginInstanceOwner [] [src]

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

interface nsIPluginInstanceOwner : nsISupports

Methods

impl nsIPluginInstanceOwner
[src]

[src]

Cast this nsIPluginInstanceOwner to one of its base interfaces.

impl nsIPluginInstanceOwner
[src]

[src]

/**
   * Get the display mode for the plugin instance.
   */

readonly attribute int32_t mode;

[src]

/**
   * Create a place for the plugin to live in the owner's
   * environment. this may or may not create a window
   * depending on the windowless state of the plugin instance.
   */

void createWidget ();

[src]

/**
   * Get the associated document.
   */

readonly attribute nsIDocument document;

[src]

/**
   * Have the plugin recomposited.
   */

void redrawPlugin ();

[src]

/**
   * Get NetscapeWindow, corresponds to NPNVnetscapeWindow
   */

void getNetscapeWindow (in voidPtr aValue);

[src]

/**
   * Convert between plugin, window, and screen coordinate spaces.
   */

void setEventModel (in int32_t eventModel);

[src]

/**
   * Call NPP_SetWindow on the plugin.
   */

void callSetWindow ();

[src]

/**
   * Get the contents scale factor for the screen the plugin is
   * drawn on.
   */

double getContentsScaleFactor ();

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

IID: nsIID = nsID(2103788846, 49511, 19642, [160, 227, 221, 198, 27, 221, 232, 195])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPluginInstanceOwner
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.