mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update bindings.
MozReview-Commit-ID: 7fFBpR4YzN5 Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
8824a68063
commit
85ad961104
1 changed files with 20 additions and 21 deletions
|
@ -615,8 +615,7 @@ extern "C" {
|
|||
-> RawServoDeclarationBlockStrongBorrowedOrNull;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetAnimationRule(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTag: *mut nsIAtom,
|
||||
pub fn Gecko_GetAnimationRule(aElementOrPseudo: RawGeckoElementBorrowed,
|
||||
aCascadeLevel:
|
||||
EffectCompositor_CascadeLevel,
|
||||
aAnimationValues:
|
||||
|
@ -636,46 +635,42 @@ extern "C" {
|
|||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_UpdateAnimations(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom,
|
||||
pub fn Gecko_UpdateAnimations(aElementOrPseudo: RawGeckoElementBorrowed,
|
||||
aOldComputedValues:
|
||||
ServoComputedValuesBorrowedOrNull,
|
||||
aComputedValues:
|
||||
ServoComputedValuesBorrowedOrNull,
|
||||
aParentComputedValues:
|
||||
ServoComputedValuesBorrowedOrNull,
|
||||
aTaskBits: UpdateAnimationsTasks);
|
||||
aTasks: UpdateAnimationsTasks);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasAnimations(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom) -> bool;
|
||||
pub fn Gecko_ElementHasAnimations(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasCSSAnimations(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom)
|
||||
pub fn Gecko_ElementHasCSSAnimations(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasCSSTransitions(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasCSSTransitions(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementTransitions_Length(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom)
|
||||
pub fn Gecko_ElementTransitions_Length(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed)
|
||||
-> usize;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementTransitions_PropertyAt(aElement:
|
||||
pub fn Gecko_ElementTransitions_PropertyAt(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom,
|
||||
aIndex: usize)
|
||||
-> nsCSSPropertyID;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementTransitions_EndValueAt(aElement:
|
||||
pub fn Gecko_ElementTransitions_EndValueAt(aElementOrPseudo:
|
||||
RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom,
|
||||
aIndex: usize)
|
||||
-> RawServoAnimationValueBorrowedOrNull;
|
||||
}
|
||||
|
@ -860,10 +855,14 @@ extern "C" {
|
|||
RawGeckoElementBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetStyleContext(node: RawGeckoNodeBorrowed,
|
||||
pub fn Gecko_GetStyleContext(element: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom)
|
||||
-> *mut nsStyleContext;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetImplementedPseudo(element: RawGeckoElementBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CalcStyleDifference(oldstyle: *mut nsStyleContext,
|
||||
newstyle: ServoComputedValuesBorrowed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue