mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
add window method for notifying when the <head> tag has been parsed
This commit is contained in:
parent
612cefa02d
commit
ffa2093012
10 changed files with 32 additions and 0 deletions
|
@ -110,6 +110,8 @@ pub trait WindowMethods {
|
|||
fn load_end(&self, back: bool, forward: bool);
|
||||
/// Called when the browser encounters an error while loading a URL
|
||||
fn load_error(&self, code: NetError, url: String);
|
||||
/// Called when the <head> tag has finished parsing
|
||||
fn head_parsed(&self);
|
||||
|
||||
/// Returns the hidpi factor of the monitor.
|
||||
fn hidpi_factor(&self) -> ScaleFactor<ScreenPx, DevicePixel, f32>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue