mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
add window method for notifying when the <head> tag has been parsed
This commit is contained in:
parent
612cefa02d
commit
ffa2093012
10 changed files with 32 additions and 0 deletions
|
@ -182,6 +182,8 @@ pub enum Msg {
|
|||
IsReadyToSaveImageReply(bool),
|
||||
/// A favicon was detected
|
||||
NewFavicon(Url),
|
||||
/// <head> tag finished parsing
|
||||
HeadParsed,
|
||||
}
|
||||
|
||||
impl Debug for Msg {
|
||||
|
@ -209,6 +211,7 @@ impl Debug for Msg {
|
|||
Msg::ViewportConstrained(..) => write!(f, "ViewportConstrained"),
|
||||
Msg::IsReadyToSaveImageReply(..) => write!(f, "IsReadyToSaveImageReply"),
|
||||
Msg::NewFavicon(..) => write!(f, "NewFavicon"),
|
||||
Msg::HeadParsed => write!(f, "HeadParsed"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue