mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
add error enum for chromium net errors, create window method for error propagation
This commit is contained in:
parent
3f8d8a3cc9
commit
68fc51205f
9 changed files with 224 additions and 0 deletions
|
@ -24,6 +24,7 @@ use layers::geometry::DevicePixel;
|
|||
use layers::platform::surface::NativeGraphicsMetadata;
|
||||
use libc::{c_char, c_void};
|
||||
use msg::constellation_msg::{Key, KeyModifiers};
|
||||
use net::net_error_list::NetError;
|
||||
use std::ptr;
|
||||
use std_url::Url;
|
||||
use util::cursor::Cursor;
|
||||
|
@ -360,6 +361,9 @@ impl WindowMethods for Window {
|
|||
}
|
||||
}
|
||||
|
||||
fn load_error(&self, _: NetError, _: String) {
|
||||
}
|
||||
|
||||
fn set_page_title(&self, string: Option<String>) {
|
||||
let browser = self.cef_browser.borrow();
|
||||
let browser = match *browser {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue