mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #6219 - zmike:favicons_and_stringlOWWW-MY-HEAD, r=pcwalton
Getting these down to the embedding API level required that I redo the bindings generator again, so this is more commits than anticipated. @mbrubeck @Manishearth @pcwalton but NOT @larsbergstrom so don't even look at this. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6219) <!-- Reviewable:end -->
This commit is contained in:
commit
b0f3417cff
26 changed files with 182 additions and 62 deletions
|
@ -454,6 +454,14 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
self.composite_if_necessary(CompositingReason::Headless);
|
||||
}
|
||||
|
||||
(Msg::NewFavicon(url), ShutdownState::NotShuttingDown) => {
|
||||
self.window.set_favicon(url);
|
||||
}
|
||||
|
||||
(Msg::HeadParsed, ShutdownState::NotShuttingDown) => {
|
||||
self.window.head_parsed();
|
||||
}
|
||||
|
||||
// When we are shutting_down, we need to avoid performing operations
|
||||
// such as Paint that may crash because we have begun tearing down
|
||||
// the rest of our resources.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue