style: Update Gecko bindings.

This commit is contained in:
Cameron McCormack 2017-06-13 08:30:45 +08:00
parent 06860d85c6
commit f989a2c21c
3 changed files with 27 additions and 13 deletions

View file

@ -2113,9 +2113,9 @@ extern "C" {
}
extern "C" {
pub fn Servo_StyleRule_GetSelectorTextAtIndex(rule:
RawServoStyleRuleBorrowed,
index: u32,
result: *mut nsAString);
RawServoStyleRuleBorrowed,
index: u32,
result: *mut nsAString);
}
extern "C" {
pub fn Servo_StyleRule_GetSpecificityAtIndex(rule:

View file

@ -6644,9 +6644,10 @@ pub mod root {
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TraversalRestyleBehavior {
Normal = 0,
ForReconstruct = 1,
ForAnimationOnly = 2,
ForCSSRuleChanges = 3,
ForNewlyBoundElement = 1,
ForReconstruct = 2,
ForAnimationOnly = 3,
ForCSSRuleChanges = 4,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@ -10436,6 +10437,12 @@ pub mod root {
eFloatID_SpellCheckerUnderlineRelativeSize = 1,
eFloatID_CaretAspectRatio = 2,
}
pub const LookAndFeel_FontID_FontID_MINIMUM:
root::mozilla::LookAndFeel_FontID =
LookAndFeel_FontID::eFont_Caption;
pub const LookAndFeel_FontID_FontID_MAXIMUM:
root::mozilla::LookAndFeel_FontID =
LookAndFeel_FontID::eFont_Widget;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum LookAndFeel_FontID {
@ -34397,7 +34404,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_215166_instantiation_103() {
fn __bindgen_test_layout__bindgen_ty_id_215184_instantiation_103() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@ -34406,7 +34413,7 @@ pub mod root {
) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_215202_instantiation_104() {
fn __bindgen_test_layout__bindgen_ty_id_215220_instantiation_104() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));

View file

@ -6500,9 +6500,10 @@ pub mod root {
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TraversalRestyleBehavior {
Normal = 0,
ForReconstruct = 1,
ForAnimationOnly = 2,
ForCSSRuleChanges = 3,
ForNewlyBoundElement = 1,
ForReconstruct = 2,
ForAnimationOnly = 3,
ForCSSRuleChanges = 4,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@ -10169,6 +10170,12 @@ pub mod root {
eFloatID_SpellCheckerUnderlineRelativeSize = 1,
eFloatID_CaretAspectRatio = 2,
}
pub const LookAndFeel_FontID_FontID_MINIMUM:
root::mozilla::LookAndFeel_FontID =
LookAndFeel_FontID::eFont_Caption;
pub const LookAndFeel_FontID_FontID_MAXIMUM:
root::mozilla::LookAndFeel_FontID =
LookAndFeel_FontID::eFont_Widget;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum LookAndFeel_FontID {
@ -33852,7 +33859,7 @@ pub mod root {
root::nsCharTraits ) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_211327_instantiation_98() {
fn __bindgen_test_layout__bindgen_ty_id_211345_instantiation_98() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));
@ -33861,7 +33868,7 @@ pub mod root {
) ));
}
#[test]
fn __bindgen_test_layout__bindgen_ty_id_211363_instantiation_99() {
fn __bindgen_test_layout__bindgen_ty_id_211381_instantiation_99() {
assert_eq!(::std::mem::size_of::<u8>() , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( u8 )
));