You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsIWebBrowserChromeFocus


This interface represents focus up-calls from Gecko to the embedding chrome. It is is implemented by the same embedder-provided object that implements nsIEmbeddingSiteWindow. It is scriptable.

Methods
focusNextElement

Sets the focus at the next focusable element in the chrome.

Syntax:

void nsIWebBrowserChromeFocus::focusNextElement() 

Parameters:

None.

nsresult :

NS_OK if successful.
focusPrevElement

Sets the focus at the previous focusable element in the chrome.

Syntax:

void nsIWebBrowserChromeFocus::focusPrevElement()  

Parameters:

None.

nsresult :

NS_OK if successful.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX