Struct xpcom::interfaces::nsIPopupWindowManager [] [src]

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

interface nsIPopupWindowManager : nsISupports

Methods

impl nsIPopupWindowManager
[src]

[src]

Cast this nsIPopupWindowManager to one of its base interfaces.

impl nsIPopupWindowManager
[src]

ALLOW_POPUP: i64 = 1
/**
   * These values are returned by the testPermission method
   */

DENY_POPUP: i64 = 2

ALLOW_POPUP_WITH_PREJUDICE: i64 = 3

[src]

/**
   * Test whether a website has permission to show a popup window.
   * @param   principal is the principal to be tested
   * @return  one of the enumerated permission actions defined above
   */

uint32_t testPermission (in nsIPrincipal principal);

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

IID: nsIID = nsID(1714973353, 8328, 19374, [130, 199, 159, 88, 188, 2, 190, 100])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPopupWindowManager
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.