Struct xpcom::interfaces::nsIBrowserElementAPI [] [src]

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

interface nsIBrowserElementAPI : nsISupports

/**
 * Interface to the BrowserElementParent implementation. All methods
 * but setFrameLoader throw when the remote process is dead.
 */

Methods

impl nsIBrowserElementAPI
[src]

[src]

Cast this nsIBrowserElementAPI to one of its base interfaces.

impl nsIBrowserElementAPI
[src]

FIND_CASE_SENSITIVE: i64 = 0

FIND_CASE_INSENSITIVE: i64 = 1

FIND_FORWARD: i64 = 0

FIND_BACKWARD: i64 = 1

[src]

/**
   * Notify frame scripts that support the API to destroy.
   */

void destroyFrameScripts ();

[src]

void setFrameLoader (in nsIFrameLoader frameLoader);

[src]

void sendMouseEvent (in DOMString type, in uint32_t x, in uint32_t y, in uint32_t button, in uint32_t clickCount, in uint32_t mifiers);

[src]

void sendTouchEvent (in DOMString aType, [array, size_is (count), const] in uint32_t aIdentifiers, [array, size_is (count), const] in int32_t aXs, [array, size_is (count), const] in int32_t aYs, [array, size_is (count), const] in uint32_t aRxs, [array, size_is (count), const] in uint32_t aRys, [array, size_is (count), const] in float aRotationAngles, [array, size_is (count), const] in float aForces, in uint32_t count, in long aModifiers);

[src]

void goBack ();

[src]

void goForward ();

[src]

void reload (in boolean hardReload);

[src]

void stop ();

[src]

nsIDOMDOMRequest purgeHistory ();

[src]

nsIDOMDOMRequest getScreenshot (in uint32_t width, in uint32_t height, [optional] in DOMString mimeType);

[src]

void zoom (in float zoom);

[src]

nsIDOMDOMRequest getCanGoBack ();

[src]

nsIDOMDOMRequest getCanGoForward ();

[src]

nsIDOMDOMRequest getContentDimensions ();

[src]

void findAll (in DOMString searchString, in long caseSensitivity);

[src]

void findNext (in long direction);

[src]

void clearMatch ();

[src]

void addNextPaintListener (in nsIBrowserElementNextPaintListener listener);

[src]

void removeNextPaintListener (in nsIBrowserElementNextPaintListener listener);

[src]

/**
   * Returns an object that represents a Web Manifest:
   * http://w3c.github.io/manifest/
   */

nsIDOMDOMRequest getWebManifest ();

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

IID: nsIID = nsID(1467321360, 24630, 4581, [168, 55, 8, 0, 32, 12, 154, 102])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIBrowserElementAPI
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.