cef_jsdialog_callback_t

Type Alias cef_jsdialog_callback_t 

Source
pub type cef_jsdialog_callback_t = _cef_jsdialog_callback_t;
Expand description

Callback structure used for asynchronous continuation of JavaScript dialog requests.

NOTE: This struct is allocated DLL-side.

Aliased Type§

#[repr(C)]
pub struct cef_jsdialog_callback_t { pub base: _cef_base_ref_counted_t, pub cont: Option<unsafe extern "C" fn(*mut _cef_jsdialog_callback_t, i32, *const _cef_string_utf16_t)>, }

Fields§

§base: _cef_base_ref_counted_t

Base structure.

§cont: Option<unsafe extern "C" fn(*mut _cef_jsdialog_callback_t, i32, *const _cef_string_utf16_t)>

Continue the JS dialog request. Set |success| to true (1) if the OK button was pressed. The |user_input| value should be specified for prompt dialogs.