mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Implement Msg::Status with serialized url upon mouseover
Credits for Mike Blumenkrantz (@zmike), I just rebased against trunk and fixed the url serialization. Fixes #6178.
This commit is contained in:
parent
5873a5cf20
commit
b3927d5a2d
10 changed files with 67 additions and 1 deletions
|
@ -199,6 +199,8 @@ pub enum Msg {
|
|||
ReturnUnusedNativeSurfaces(Vec<NativeSurface>),
|
||||
/// Collect memory reports and send them back to the given mem::ReportsChan.
|
||||
CollectMemoryReports(mem::ReportsChan),
|
||||
/// A status message to be displayed by the browser chrome.
|
||||
Status(Option<String>),
|
||||
}
|
||||
|
||||
impl Debug for Msg {
|
||||
|
@ -229,6 +231,7 @@ impl Debug for Msg {
|
|||
Msg::HeadParsed => write!(f, "HeadParsed"),
|
||||
Msg::ReturnUnusedNativeSurfaces(..) => write!(f, "ReturnUnusedNativeSurfaces"),
|
||||
Msg::CollectMemoryReports(..) => write!(f, "CollectMemoryReports"),
|
||||
Msg::Status(..) => write!(f, "Status"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue