[][src]Trait webkit2gtk::WebContextExt

pub trait WebContextExt: 'static {
    fn clear_cache(&self);
fn download_uri(&self, uri: &str) -> Option<Download>;
fn get_cache_model(&self) -> CacheModel;
fn get_cookie_manager(&self) -> Option<CookieManager>;
fn get_favicon_database(&self) -> Option<FaviconDatabase>;
fn get_favicon_database_directory(&self) -> Option<GString>;
fn get_plugins<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<Plugin>, Error>) + Send + 'static>(
        &self,
        cancellable: Option<&P>,
        callback: Q
    );
fn get_security_manager(&self) -> Option<SecurityManager>;
fn get_spell_checking_enabled(&self) -> bool;
fn get_spell_checking_languages(&self) -> Vec<GString>;
fn get_tls_errors_policy(&self) -> TLSErrorsPolicy;
fn prefetch_dns(&self, hostname: &str);
fn register_uri_scheme<P: Fn(&URISchemeRequest) + 'static>(
        &self,
        scheme: &str,
        callback: P
    );
fn set_additional_plugins_directory(&self, directory: &str);
fn set_cache_model(&self, cache_model: CacheModel);
fn set_disk_cache_directory(&self, directory: &str);
fn set_favicon_database_directory(&self, path: Option<&str>);
fn set_preferred_languages(&self, languages: &[&str]);
fn set_spell_checking_enabled(&self, enabled: bool);
fn set_spell_checking_languages(&self, languages: &[&str]);
fn set_tls_errors_policy(&self, policy: TLSErrorsPolicy);
fn set_web_extensions_directory(&self, directory: &str);
fn connect_download_started<F: Fn(&Self, &Download) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn clear_cache(&self)

fn download_uri(&self, uri: &str) -> Option<Download>

fn get_cache_model(&self) -> CacheModel

fn get_favicon_database(&self) -> Option<FaviconDatabase>

fn get_favicon_database_directory(&self) -> Option<GString>

fn get_plugins<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<Plugin>, Error>) + Send + 'static>(
    &self,
    cancellable: Option<&P>,
    callback: Q
)

fn get_security_manager(&self) -> Option<SecurityManager>

fn get_spell_checking_enabled(&self) -> bool

fn get_spell_checking_languages(&self) -> Vec<GString>

fn get_tls_errors_policy(&self) -> TLSErrorsPolicy

fn prefetch_dns(&self, hostname: &str)

fn register_uri_scheme<P: Fn(&URISchemeRequest) + 'static>(
    &self,
    scheme: &str,
    callback: P
)

fn set_additional_plugins_directory(&self, directory: &str)

fn set_cache_model(&self, cache_model: CacheModel)

fn set_disk_cache_directory(&self, directory: &str)

fn set_favicon_database_directory(&self, path: Option<&str>)

fn set_preferred_languages(&self, languages: &[&str])

fn set_spell_checking_enabled(&self, enabled: bool)

fn set_spell_checking_languages(&self, languages: &[&str])

fn set_tls_errors_policy(&self, policy: TLSErrorsPolicy)

fn set_web_extensions_directory(&self, directory: &str)

fn connect_download_started<F: Fn(&Self, &Download) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<WebContext>> WebContextExt for O[src]

Loading content...