mirror of
https://github.com/servo/servo.git
synced 2025-08-28 08:38:20 +01:00
update cef interfaces from upstream
This commit is contained in:
parent
f749fe4125
commit
5f9aac6c1a
11 changed files with 364 additions and 35 deletions
|
@ -58,10 +58,10 @@ pub struct _cef_cookie_manager_t {
|
|||
pub base: types::cef_base_t,
|
||||
|
||||
//
|
||||
// Set the schemes supported by this manager. By default only "http" and
|
||||
// "https" schemes are supported. If |callback| is non-NULL it will be
|
||||
// executed asnychronously on the IO thread after the change has been applied.
|
||||
// Must be called before any cookies are accessed.
|
||||
// Set the schemes supported by this manager. The default schemes ("http",
|
||||
// "https", "ws" and "wss") will always be supported. If |callback| is non-
|
||||
// NULL it will be executed asnychronously on the IO thread after the change
|
||||
// has been applied. Must be called before any cookies are accessed.
|
||||
//
|
||||
pub set_supported_schemes: Option<extern "C" fn(
|
||||
this: *mut cef_cookie_manager_t, schemes: &types::cef_string_list_t,
|
||||
|
@ -222,10 +222,10 @@ impl CefCookieManager {
|
|||
}
|
||||
|
||||
//
|
||||
// Set the schemes supported by this manager. By default only "http" and
|
||||
// "https" schemes are supported. If |callback| is non-NULL it will be
|
||||
// executed asnychronously on the IO thread after the change has been applied.
|
||||
// Must be called before any cookies are accessed.
|
||||
// Set the schemes supported by this manager. The default schemes ("http",
|
||||
// "https", "ws" and "wss") will always be supported. If |callback| is non-
|
||||
// NULL it will be executed asnychronously on the IO thread after the change
|
||||
// has been applied. Must be called before any cookies are accessed.
|
||||
//
|
||||
pub fn set_supported_schemes(&self, schemes: &Vec<String>,
|
||||
callback: interfaces::CefCompletionCallback) -> () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue