mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Update Gecko bindings.
This commit is contained in:
parent
f492c8fe6e
commit
18d847227c
3 changed files with 4188 additions and 4433 deletions
|
@ -587,6 +587,12 @@ extern "C" {
|
|||
pub fn Gecko_GetElementId(element: RawGeckoElementBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_MatchLang(element: RawGeckoElementBorrowed,
|
||||
override_lang: *mut nsIAtom,
|
||||
has_override_lang: bool, value: *const u16)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
|
@ -595,6 +601,9 @@ extern "C" {
|
|||
pub fn Gecko_AtomAttrValue(element: RawGeckoElementBorrowed,
|
||||
attribute: *mut nsIAtom) -> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_HasAttr(element: RawGeckoElementBorrowed, ns: *mut nsIAtom,
|
||||
name: *mut nsIAtom) -> bool;
|
||||
|
@ -639,6 +648,10 @@ extern "C" {
|
|||
attribute: *mut nsIAtom)
|
||||
-> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotLangValue(element: *const ServoElementSnapshot)
|
||||
-> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotHasAttr(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom)
|
||||
|
@ -2210,8 +2223,7 @@ extern "C" {
|
|||
from: *const RawGeckoGfxMatrix4x4,
|
||||
to: *const RawGeckoGfxMatrix4x4,
|
||||
progress: f64,
|
||||
result:
|
||||
*mut RawGeckoGfxMatrix4x4);
|
||||
result: *mut RawGeckoGfxMatrix4x4);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_AnimationValues_Interpolate(from:
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue