pub trait ImplBrowserProcessHandler:
Clone
+ Sized
+ Rc {
// Required method
fn get_raw(&self) -> *mut _cef_browser_process_handler_t;
// Provided methods
fn on_register_custom_preferences(
&self,
type_: PreferencesType,
registrar: Option<&mut PreferenceRegistrar>,
) { ... }
fn on_context_initialized(&self) { ... }
fn on_before_child_process_launch(
&self,
command_line: Option<&mut CommandLine>,
) { ... }
fn on_already_running_app_relaunch(
&self,
command_line: Option<&mut CommandLine>,
current_directory: Option<&CefString>,
) -> c_int { ... }
fn on_schedule_message_pump_work(&self, delay_ms: i64) { ... }
fn default_client(&self) -> Option<Client> { ... }
fn default_request_context_handler(&self) -> Option<RequestContextHandler> { ... }
fn init_methods(object: &mut _cef_browser_process_handler_t) { ... }
}Required Methods§
fn get_raw(&self) -> *mut _cef_browser_process_handler_t
Provided Methods§
Sourcefn on_register_custom_preferences(
&self,
type_: PreferencesType,
registrar: Option<&mut PreferenceRegistrar>,
)
fn on_register_custom_preferences( &self, type_: PreferencesType, registrar: Option<&mut PreferenceRegistrar>, )
See _cef_browser_process_handler_t::on_register_custom_preferences for more documentation.
Sourcefn on_context_initialized(&self)
fn on_context_initialized(&self)
See _cef_browser_process_handler_t::on_context_initialized for more documentation.
Sourcefn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
fn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
See _cef_browser_process_handler_t::on_before_child_process_launch for more documentation.
Sourcefn on_already_running_app_relaunch(
&self,
command_line: Option<&mut CommandLine>,
current_directory: Option<&CefString>,
) -> c_int
fn on_already_running_app_relaunch( &self, command_line: Option<&mut CommandLine>, current_directory: Option<&CefString>, ) -> c_int
See _cef_browser_process_handler_t::on_already_running_app_relaunch for more documentation.
Sourcefn on_schedule_message_pump_work(&self, delay_ms: i64)
fn on_schedule_message_pump_work(&self, delay_ms: i64)
See _cef_browser_process_handler_t::on_schedule_message_pump_work for more documentation.
Sourcefn default_client(&self) -> Option<Client>
fn default_client(&self) -> Option<Client>
See _cef_browser_process_handler_t::get_default_client for more documentation.
Sourcefn default_request_context_handler(&self) -> Option<RequestContextHandler>
fn default_request_context_handler(&self) -> Option<RequestContextHandler>
See _cef_browser_process_handler_t::get_default_request_context_handler for more documentation.
fn init_methods(object: &mut _cef_browser_process_handler_t)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.