mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Further changes required by Servo
This commit is contained in:
parent
1b04838278
commit
40b7d87bbb
2 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
-moz-gtk-csd-titlebar-radius
|
||||
-moz-gtk-menu-radius
|
||||
DOMContentLoaded
|
||||
abort
|
||||
activate
|
||||
|
|
|
@ -227,6 +227,12 @@ impl Device {
|
|||
0.0
|
||||
}
|
||||
|
||||
/// Returns the gtk menu radius in CSS pixels.
|
||||
/// TODO: implement this method.
|
||||
pub fn menu_radius(&self) -> f32 {
|
||||
0.0
|
||||
}
|
||||
|
||||
/// Return whether the document is a chrome document.
|
||||
#[inline]
|
||||
pub fn is_chrome_document(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue