Struct xpcom::interfaces::mozIGeckoMediaPluginChromeService [] [src]

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

interface mozIGeckoMediaPluginChromeService : nsISupports

Methods

impl mozIGeckoMediaPluginChromeService
[src]

[src]

Cast this mozIGeckoMediaPluginChromeService to one of its base interfaces.

impl mozIGeckoMediaPluginChromeService
[src]

[src]

/**
   * Add a directory to scan for gecko media plugins.
   * @note Main-thread API.
   */

void addPluginDirectory (in AString directory);

[src]

/**
   * Remove a directory for gecko media plugins.
   * @note Main-thread API.
   */

void removePluginDirectory (in AString directory);

[src]

/**
   * Remove a directory for gecko media plugins and delete it from disk.
   * If |defer| is true, wait until the plugin is unused before removing.
   * @note Main-thread API.
   */

void removeAndDeletePluginDirectory (in AString directory, [optional] in bool defer);

[src]

/**
   * Clears storage data associated with the site and the originAttributes
   * pattern in JSON format.
   */

void forgetThisSite (in AString site, in DOMString aPattern);

[src]

/**
   * Returns true if the given node id is allowed to store things
   * persistently on disk. Private Browsing and local content are not
   * allowed to store persistent data.
   */

bool isPersistentStorageAllowed (in ACString nodeId);

[src]

/**
   * Returns the directory to use as the base for storing data about GMPs.
   */

nsIFile getStorageDir ();

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

IID: nsIID = nsID(852712737, 6175, 17968, [140, 170, 164, 49, 226, 235, 173, 114])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIGeckoMediaPluginChromeService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.