cef_find_handler_t

Type Alias cef_find_handler_t 

Source
pub type cef_find_handler_t = _cef_find_handler_t;
Expand description

Implement this structure to handle events related to find results. The functions of this structure will be called on the UI thread.

NOTE: This struct is allocated client-side.

Aliased Type§

#[repr(C)]
pub struct cef_find_handler_t { pub base: _cef_base_ref_counted_t, pub on_find_result: Option<unsafe extern "C" fn(*mut _cef_find_handler_t, *mut _cef_browser_t, i32, i32, *const _cef_rect_t, i32, i32)>, }

Fields§

§base: _cef_base_ref_counted_t

Base structure.

§on_find_result: Option<unsafe extern "C" fn(*mut _cef_find_handler_t, *mut _cef_browser_t, i32, i32, *const _cef_rect_t, i32, i32)>

Called to report find results returned by cef_browser_host_t::find(). |identifer| is a unique incremental identifier for the currently active search, |count| is the number of matches currently identified, |selectionRect| is the location of where the match was found (in window coordinates), |activeMatchOrdinal| is the current position in the search results, and |finalUpdate| is true (1) if this is the last find notification.