Struct xpcom::interfaces::nsIWebBrowserFindInFrames
[−]
[src]
#[repr(C)]pub struct nsIWebBrowserFindInFrames { /* fields omitted */ }
interface nsIWebBrowserFindInFrames : nsISupports
/**
* nsIWebBrowserFindInFrames
*
* Controls how find behaves when multiple frames or iframes are present.
*
* Get by doing a QueryInterface from nsIWebBrowserFind.
*/
Methods
impl nsIWebBrowserFindInFrames
[src]
pub fn coerce<T: nsIWebBrowserFindInFramesCoerce>(&self) -> &T
[src]
Cast this nsIWebBrowserFindInFrames
to one of its base interfaces.
impl nsIWebBrowserFindInFrames
[src]
pub unsafe fn GetCurrentSearchFrame(
&self,
aCurrentSearchFrame: *mut *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aCurrentSearchFrame: *mut *const mozIDOMWindowProxy
) -> nsresult
/**
* currentSearchFrame
*
* Frame at which to start the search. Once the search is done, this will
* be set to be the last frame searched, whether or not a result was found.
* Has to be equal to or contained within the rootSearchFrame.
*/
attribute mozIDOMWindowProxy currentSearchFrame;
pub unsafe fn SetCurrentSearchFrame(
&self,
aCurrentSearchFrame: *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aCurrentSearchFrame: *const mozIDOMWindowProxy
) -> nsresult
/**
* currentSearchFrame
*
* Frame at which to start the search. Once the search is done, this will
* be set to be the last frame searched, whether or not a result was found.
* Has to be equal to or contained within the rootSearchFrame.
*/
attribute mozIDOMWindowProxy currentSearchFrame;
pub unsafe fn GetRootSearchFrame(
&self,
aRootSearchFrame: *mut *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aRootSearchFrame: *mut *const mozIDOMWindowProxy
) -> nsresult
/**
* rootSearchFrame
*
* Frame within which to confine the search (normally the content area frame).
* Set this to only search a subtree of the frame hierarchy.
*/
attribute mozIDOMWindowProxy rootSearchFrame;
pub unsafe fn SetRootSearchFrame(
&self,
aRootSearchFrame: *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aRootSearchFrame: *const mozIDOMWindowProxy
) -> nsresult
/**
* rootSearchFrame
*
* Frame within which to confine the search (normally the content area frame).
* Set this to only search a subtree of the frame hierarchy.
*/
attribute mozIDOMWindowProxy rootSearchFrame;
pub unsafe fn GetSearchSubframes(&self, aSearchSubframes: *mut bool) -> nsresult
[src]
/**
* searchSubframes
*
* Whether to recurse down into subframes while searching. Default is true.
*
* Setting nsIWebBrowserfind.searchFrames to true sets this to true.
*/
attribute boolean searchSubframes;
pub unsafe fn SetSearchSubframes(&self, aSearchSubframes: bool) -> nsresult
[src]
/**
* searchSubframes
*
* Whether to recurse down into subframes while searching. Default is true.
*
* Setting nsIWebBrowserfind.searchFrames to true sets this to true.
*/
attribute boolean searchSubframes;
pub unsafe fn GetSearchParentFrames(
&self,
aSearchParentFrames: *mut bool
) -> nsresult
[src]
&self,
aSearchParentFrames: *mut bool
) -> nsresult
/**
* searchParentFrames
*
* Whether to allow the search to propagate out of the currentSearchFrame into its
* parent frame(s). Search is always confined within the rootSearchFrame. Default
* is true.
*
* Setting nsIWebBrowserfind.searchFrames to true sets this to true.
*/
attribute boolean searchParentFrames;
pub unsafe fn SetSearchParentFrames(
&self,
aSearchParentFrames: bool
) -> nsresult
[src]
&self,
aSearchParentFrames: bool
) -> nsresult
/**
* searchParentFrames
*
* Whether to allow the search to propagate out of the currentSearchFrame into its
* parent frame(s). Search is always confined within the rootSearchFrame. Default
* is true.
*
* Setting nsIWebBrowserfind.searchFrames to true sets this to true.
*/
attribute boolean searchParentFrames;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIWebBrowserFindInFrames
[src]
const IID: nsIID
IID: nsIID = nsID(3774206338, 13500, 4565, [190, 91, 183, 96, 103, 108, 110, 188])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 nsIWebBrowserFindInFrames
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIWebBrowserFindInFrames
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.