mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Update bindings.
This commit is contained in:
parent
005fd9cfa8
commit
dcd81b92e0
2 changed files with 341 additions and 35 deletions
|
@ -528,14 +528,10 @@ extern "C" {
|
|||
pub fn Gecko_LoadStyleSheet ( loader : * mut Loader , parent : * mut ServoStyleSheet , reusable_sheets : * mut LoaderReusableStyleSheets , base_url_data : * mut RawGeckoURLExtraData , url_bytes : * const u8 , url_length : u32 , media_list : RawServoMediaListStrong , ) -> * mut ServoStyleSheet ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_ElementState ( element : RawGeckoElementBorrowed , ) -> u64 ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_DocumentState ( aDocument : * const nsIDocument , ) -> u64 ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_IsRootElement ( element : RawGeckoElementBorrowed , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_MatchesElement ( type_ : CSSPseudoClassType , element : RawGeckoElementBorrowed , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_Namespace ( element : RawGeckoElementBorrowed , ) -> * mut nsAtom ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_MatchLang ( element : RawGeckoElementBorrowed , override_lang : * mut nsAtom , has_override_lang : bool , value : * const u16 , ) -> bool ;
|
||||
} extern "C" {
|
||||
|
@ -600,8 +596,6 @@ extern "C" {
|
|||
pub fn Gecko_IsPrivateBrowsingEnabled ( aDoc : * const nsIDocument , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_GetAnimationRule ( aElementOrPseudo : RawGeckoElementBorrowed , aCascadeLevel : EffectCompositor_CascadeLevel , aAnimationValues : RawServoAnimationValueMapBorrowedMut , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_GetSMILOverrideDeclarationBlock ( element : RawGeckoElementBorrowed , ) -> RawServoDeclarationBlockStrongBorrowedOrNull ;
|
||||
} extern "C" {
|
||||
pub fn Gecko_StyleAnimationsEquals ( arg1 : RawGeckoStyleAnimationListBorrowed , arg2 : RawGeckoStyleAnimationListBorrowed , ) -> bool ;
|
||||
} extern "C" {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue