mirror of
https://github.com/servo/servo.git
synced 2025-09-03 03:28:20 +01:00
implement cef_display_handler::on_favicon_urlchange
also fixes #6166 but with more fix than last fix
This commit is contained in:
parent
12f20f1ecc
commit
5d99933ddc
2 changed files with 15 additions and 2 deletions
|
@ -111,6 +111,8 @@ pub struct ServoCefBrowser {
|
|||
pub forward: Cell<bool>,
|
||||
/// whether the browser is loading
|
||||
pub loading: Cell<bool>,
|
||||
/// a vec of favicon urls for the current page
|
||||
pub favicons: RefCell<Vec<String>>,
|
||||
/// the display system window handle: only to be used with host.get_window_handle()
|
||||
window_handle: cef_window_handle_t,
|
||||
|
||||
|
@ -154,6 +156,7 @@ impl ServoCefBrowser {
|
|||
back: Cell::new(false),
|
||||
forward: Cell::new(false),
|
||||
loading: Cell::new(false),
|
||||
favicons: RefCell::new(vec!()),
|
||||
window_handle: window_handle,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue