Struct xpcom::interfaces::nsIContentPrefObserver [] [src]

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

interface nsIContentPrefObserver : nsISupports

Methods

impl nsIContentPrefObserver
[src]

[src]

Cast this nsIContentPrefObserver to one of its base interfaces.

impl nsIContentPrefObserver
[src]

[src]

/**
   * Called when a content pref is set to a different value.
   *
   * @param    aGroup      the group to which the pref belongs, or null
   *                       if it's a global pref (applies to all sites)
   * @param    aName       the name of the pref that was set
   * @param    aValue      the new value of the pref
   * @param    aIsPrivate  an optional flag determining whether the
   *                       original context is private or not
   */

void onContentPrefSet (in AString aGroup, in AString aName, in nsIVariant aValue, [optional] in boolean aIsPrivate);

[src]

/**
   * Called when a content pref is removed.
   *
   * @param    aGroup      the group to which the pref belongs, or null
   *                       if it's a global pref (applies to all sites)
   * @param    aName       the name of the pref that was removed
   * @param    aIsPrivate  an optional flag determining whether the
   *                       original context is private or not
   */

void onContentPrefRemoved (in AString aGroup, in AString aName, [optional] in boolean aIsPrivate);

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

IID: nsIID = nsID(1130585171, 46149, 19534, [140, 197, 86, 38, 151, 41, 155, 85])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIContentPrefObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.