add handling for favicon link elements

fixes #6166
This commit is contained in:
Mike Blumenkrantz 2015-05-29 14:34:41 -04:00
parent 05212b702d
commit 12f20f1ecc
10 changed files with 69 additions and 1 deletions

View file

@ -180,6 +180,8 @@ pub enum Msg {
ViewportConstrained(PipelineId, ViewportConstraints),
/// A reply to the compositor asking if the output image is stable.
IsReadyToSaveImageReply(bool),
/// A favicon was detected
NewFavicon(Url),
}
impl Debug for Msg {
@ -206,6 +208,7 @@ impl Debug for Msg {
Msg::PaintTaskExited(..) => write!(f, "PaintTaskExited"),
Msg::ViewportConstrained(..) => write!(f, "ViewportConstrained"),
Msg::IsReadyToSaveImageReply(..) => write!(f, "IsReadyToSaveImageReply"),
Msg::NewFavicon(..) => write!(f, "NewFavicon"),
}
}
}