[][src]Trait webkit2gtk::CookieManagerExt

pub trait CookieManagerExt: 'static {
    fn delete_all_cookies(&self);
fn delete_cookies_for_domain(&self, domain: &str);
fn get_accept_policy<P: IsA<Cancellable>, Q: FnOnce(Result<CookieAcceptPolicy, Error>) + Send + 'static>(
        &self,
        cancellable: Option<&P>,
        callback: Q
    );
fn get_domains_with_cookies<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<GString>, Error>) + Send + 'static>(
        &self,
        cancellable: Option<&P>,
        callback: Q
    );
fn set_accept_policy(&self, policy: CookieAcceptPolicy);
fn set_persistent_storage(
        &self,
        filename: &str,
        storage: CookiePersistentStorage
    );
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; }

Required methods

fn delete_all_cookies(&self)

fn delete_cookies_for_domain(&self, domain: &str)

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

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

fn set_accept_policy(&self, policy: CookieAcceptPolicy)

fn set_persistent_storage(
    &self,
    filename: &str,
    storage: CookiePersistentStorage
)

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

Loading content...

Implementors

impl<O: IsA<CookieManager>> CookieManagerExt for O[src]

Loading content...