Struct xpcom::interfaces::nsIEditorObserver [] [src]

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

interface nsIEditorObserver : nsISupports

/**
 * A generic editor observer interface.
 * <P>
 * nsIEditorObserver is the interface used by applications wishing to be notified
 * when the editor has completed a user action.
 *
 */

Methods

impl nsIEditorObserver
[src]

[src]

Cast this nsIEditorObserver to one of its base interfaces.

impl nsIEditorObserver
[src]

[src]

/**
   * Called after the editor completes a user action.
   */

void EditAction ();

[src]

/**
   * Called when editor starts to handle a user action.  I.e., This must be
   * called before the first DOM change.
   */

void BeforeEditAction ();

[src]

/**
   * Called after BeforeEditAction() is called but EditorAction() won't be
   * called.
   */

void CancelEditAction ();

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

IID: nsIID = nsID(4092483494, 35084, 19680, [165, 132, 138, 132, 187, 160, 41, 46])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIEditorObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.