Update bindings.

MozReview-Commit-ID: 7fFBpR4YzN5
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
Emilio Cobos Álvarez 2017-04-27 13:50:44 +02:00
parent 8824a68063
commit 85ad961104
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -615,8 +615,7 @@ extern "C" {
-> RawServoDeclarationBlockStrongBorrowedOrNull; -> RawServoDeclarationBlockStrongBorrowedOrNull;
} }
extern "C" { extern "C" {
pub fn Gecko_GetAnimationRule(aElement: RawGeckoElementBorrowed, pub fn Gecko_GetAnimationRule(aElementOrPseudo: RawGeckoElementBorrowed,
aPseudoTag: *mut nsIAtom,
aCascadeLevel: aCascadeLevel:
EffectCompositor_CascadeLevel, EffectCompositor_CascadeLevel,
aAnimationValues: aAnimationValues:
@ -636,46 +635,42 @@ extern "C" {
-> bool; -> bool;
} }
extern "C" { extern "C" {
pub fn Gecko_UpdateAnimations(aElement: RawGeckoElementBorrowed, pub fn Gecko_UpdateAnimations(aElementOrPseudo: RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom,
aOldComputedValues: aOldComputedValues:
ServoComputedValuesBorrowedOrNull, ServoComputedValuesBorrowedOrNull,
aComputedValues: aComputedValues:
ServoComputedValuesBorrowedOrNull, ServoComputedValuesBorrowedOrNull,
aParentComputedValues: aParentComputedValues:
ServoComputedValuesBorrowedOrNull, ServoComputedValuesBorrowedOrNull,
aTaskBits: UpdateAnimationsTasks); aTasks: UpdateAnimationsTasks);
} }
extern "C" { extern "C" {
pub fn Gecko_ElementHasAnimations(aElement: RawGeckoElementBorrowed, pub fn Gecko_ElementHasAnimations(aElementOrPseudo:
aPseudoTagOrNull: *mut nsIAtom) -> bool; RawGeckoElementBorrowed) -> bool;
} }
extern "C" { extern "C" {
pub fn Gecko_ElementHasCSSAnimations(aElement: RawGeckoElementBorrowed, pub fn Gecko_ElementHasCSSAnimations(aElementOrPseudo:
aPseudoTagOrNull: *mut nsIAtom) RawGeckoElementBorrowed) -> bool;
}
extern "C" {
pub fn Gecko_ElementHasCSSTransitions(aElementOrPseudo:
RawGeckoElementBorrowed)
-> bool; -> bool;
} }
extern "C" { extern "C" {
pub fn Gecko_ElementHasCSSTransitions(aElement: RawGeckoElementBorrowed, pub fn Gecko_ElementTransitions_Length(aElementOrPseudo:
aPseudoTagOrNull: *mut nsIAtom) RawGeckoElementBorrowed)
-> bool;
}
extern "C" {
pub fn Gecko_ElementTransitions_Length(aElement: RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom)
-> usize; -> usize;
} }
extern "C" { extern "C" {
pub fn Gecko_ElementTransitions_PropertyAt(aElement: pub fn Gecko_ElementTransitions_PropertyAt(aElementOrPseudo:
RawGeckoElementBorrowed, RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom,
aIndex: usize) aIndex: usize)
-> nsCSSPropertyID; -> nsCSSPropertyID;
} }
extern "C" { extern "C" {
pub fn Gecko_ElementTransitions_EndValueAt(aElement: pub fn Gecko_ElementTransitions_EndValueAt(aElementOrPseudo:
RawGeckoElementBorrowed, RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom,
aIndex: usize) aIndex: usize)
-> RawServoAnimationValueBorrowedOrNull; -> RawServoAnimationValueBorrowedOrNull;
} }
@ -860,10 +855,14 @@ extern "C" {
RawGeckoElementBorrowed); RawGeckoElementBorrowed);
} }
extern "C" { extern "C" {
pub fn Gecko_GetStyleContext(node: RawGeckoNodeBorrowed, pub fn Gecko_GetStyleContext(element: RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom) aPseudoTagOrNull: *mut nsIAtom)
-> *mut nsStyleContext; -> *mut nsStyleContext;
} }
extern "C" {
pub fn Gecko_GetImplementedPseudo(element: RawGeckoElementBorrowed)
-> *mut nsIAtom;
}
extern "C" { extern "C" {
pub fn Gecko_CalcStyleDifference(oldstyle: *mut nsStyleContext, pub fn Gecko_CalcStyleDifference(oldstyle: *mut nsStyleContext,
newstyle: ServoComputedValuesBorrowed) newstyle: ServoComputedValuesBorrowed)