mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +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
|
@ -316,6 +316,9 @@ impl WindowMethods for Window {
|
|||
browser.downcast().favicons.borrow_mut().push(url.to_string().clone());
|
||||
}
|
||||
|
||||
fn status(&self, _: Option<String>) {
|
||||
}
|
||||
|
||||
fn load_start(&self, back: bool, forward: bool) {
|
||||
let browser = self.cef_browser.borrow();
|
||||
let browser = match *browser {
|
||||
|
|
|
@ -554,6 +554,9 @@ impl WindowMethods for Window {
|
|||
fn set_page_url(&self, _: Url) {
|
||||
}
|
||||
|
||||
fn status(&self, _: Option<String>) {
|
||||
}
|
||||
|
||||
fn load_start(&self, _: bool, _: bool) {
|
||||
}
|
||||
|
||||
|
@ -778,6 +781,9 @@ impl WindowMethods for Window {
|
|||
fn set_favicon(&self, _: Url) {
|
||||
}
|
||||
|
||||
fn status(&self, _: Option<String>) {
|
||||
}
|
||||
|
||||
fn prepare_for_composite(&self, _width: usize, _height: usize) -> bool {
|
||||
true
|
||||
}
|
||||
|
|
|
@ -803,6 +803,9 @@ impl WindowMethods for Window {
|
|||
fn set_page_url(&self, _: Url) {
|
||||
}
|
||||
|
||||
fn status(&self, _: Option<String>) {
|
||||
}
|
||||
|
||||
fn load_start(&self, _: bool, _: bool) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue