diff options
author | Ravi Shankar <wafflespeanut@gmail.com> | 2016-10-10 00:10:58 +0530 |
---|---|---|
committer | Ravi Shankar <wafflespeanut@gmail.com> | 2016-10-10 00:10:58 +0530 |
commit | 664db1b5fa7766d45ba3cf20577c82ea8a6459ff (patch) | |
tree | 6d0cb1ddeae4866d013a9b24035fea01feae0383 | |
parent | 2b4d301fbf72d957fb5bfcb68dd7bf2b0d8955fe (diff) | |
download | servo-664db1b5fa7766d45ba3cf20577c82ea8a6459ff.tar.gz servo-664db1b5fa7766d45ba3cf20577c82ea8a6459ff.zip |
Regen bindings to include the constants
-rw-r--r-- | components/style/gecko_bindings/structs_debug.rs | 70 | ||||
-rw-r--r-- | components/style/gecko_bindings/structs_release.rs | 70 |
2 files changed, 140 insertions, 0 deletions
diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 118ecd6d174..28eddab1b5a 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -28,6 +28,9 @@ impl <T> ::std::marker::Copy for __BindgenUnionField<T> { } pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_WEIGHT_NORMAL: ::std::os::raw::c_uint = 400; +pub const NS_FONT_WEIGHT_BOLD: ::std::os::raw::c_uint = 700; +pub const NS_FONT_WEIGHT_THIN: ::std::os::raw::c_uint = 100; pub const NS_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4; pub const NS_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3; pub const NS_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2; @@ -37,6 +40,71 @@ pub const NS_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1; pub const NS_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2; pub const NS_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3; pub const NS_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4; +pub const NS_FONT_SMOOTHING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_SMOOTHING_GRAYSCALE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_KERNING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_KERNING_NONE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_KERNING_NORMAL: ::std::os::raw::c_uint = 2; +pub const NS_FONT_SYNTHESIS_WEIGHT: ::std::os::raw::c_uint = 1; +pub const NS_FONT_SYNTHESIS_STYLE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_DISPLAY_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_DISPLAY_BLOCK: ::std::os::raw::c_uint = 1; +pub const NS_FONT_DISPLAY_SWAP: ::std::os::raw::c_uint = 2; +pub const NS_FONT_DISPLAY_FALLBACK: ::std::os::raw::c_uint = 3; +pub const NS_FONT_DISPLAY_OPTIONAL: ::std::os::raw::c_uint = 4; +pub const NS_FONT_VARIANT_ALTERNATES_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_STYLISTIC: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_STYLESET: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_CHARACTER_VARIANT: ::std::os::raw::c_uint + = + 1; +pub const NS_FONT_VARIANT_ALTERNATES_SWASH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_ORNAMENTS: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_ANNOTATION: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_CAPS_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_CAPS_SMALLCAPS: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_CAPS_ALLSMALL: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_CAPS_PETITECAPS: ::std::os::raw::c_uint = 3; +pub const NS_FONT_VARIANT_CAPS_ALLPETITE: ::std::os::raw::c_uint = 4; +pub const NS_FONT_VARIANT_CAPS_TITLING: ::std::os::raw::c_uint = 5; +pub const NS_FONT_VARIANT_CAPS_UNICASE: ::std::os::raw::c_uint = 6; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS78: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS83: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS90: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS04: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_TRADITIONAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_PROP_WIDTH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_RUBY: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NONE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_COMMON: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_COMMON: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_DISCRETIONARY: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_DISCRETIONARY: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_LIGATURES_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_CONTEXTUAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_LINING: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_OLDSTYLE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_PROPORTIONAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_TABULAR: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_DIAGONAL_FRACTIONS: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_NUMERIC_STACKED_FRACTIONS: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_NUMERIC_SLASHZERO: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_ORDINAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_POSITION_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_POSITION_SUPER: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_POSITION_SUB: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_WIDTH_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_WIDTH_FULL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_WIDTH_HALF: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_WIDTH_THIRD: ::std::os::raw::c_uint = 3; +pub const NS_FONT_VARIANT_WIDTH_QUARTER: ::std::os::raw::c_uint = 4; pub const NS_THEME_NONE: ::std::os::raw::c_uint = 0; pub const NS_THEME_BUTTON: ::std::os::raw::c_uint = 1; pub const NS_THEME_RADIO: ::std::os::raw::c_uint = 2; @@ -160,6 +228,8 @@ pub const NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: ::std::os::raw::c_uint = 245; pub const NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: ::std::os::raw::c_uint = 246; pub const NS_THEME_GTK_INFO_BAR: ::std::os::raw::c_uint = 247; pub const NS_THEME_MAC_SOURCE_LIST: ::std::os::raw::c_uint = 248; +pub const NS_FONT_VARIANT_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_SMALL_CAPS: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0; pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2; diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index 359061c330a..3603c6a5198 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -28,6 +28,9 @@ impl <T> ::std::marker::Copy for __BindgenUnionField<T> { } pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_WEIGHT_NORMAL: ::std::os::raw::c_uint = 400; +pub const NS_FONT_WEIGHT_BOLD: ::std::os::raw::c_uint = 700; +pub const NS_FONT_WEIGHT_THIN: ::std::os::raw::c_uint = 100; pub const NS_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4; pub const NS_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3; pub const NS_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2; @@ -37,6 +40,71 @@ pub const NS_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1; pub const NS_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2; pub const NS_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3; pub const NS_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4; +pub const NS_FONT_SMOOTHING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_SMOOTHING_GRAYSCALE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_KERNING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_KERNING_NONE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_KERNING_NORMAL: ::std::os::raw::c_uint = 2; +pub const NS_FONT_SYNTHESIS_WEIGHT: ::std::os::raw::c_uint = 1; +pub const NS_FONT_SYNTHESIS_STYLE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_DISPLAY_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_FONT_DISPLAY_BLOCK: ::std::os::raw::c_uint = 1; +pub const NS_FONT_DISPLAY_SWAP: ::std::os::raw::c_uint = 2; +pub const NS_FONT_DISPLAY_FALLBACK: ::std::os::raw::c_uint = 3; +pub const NS_FONT_DISPLAY_OPTIONAL: ::std::os::raw::c_uint = 4; +pub const NS_FONT_VARIANT_ALTERNATES_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_STYLISTIC: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_STYLESET: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_CHARACTER_VARIANT: ::std::os::raw::c_uint + = + 1; +pub const NS_FONT_VARIANT_ALTERNATES_SWASH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_ORNAMENTS: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_ALTERNATES_ANNOTATION: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_CAPS_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_CAPS_SMALLCAPS: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_CAPS_ALLSMALL: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_CAPS_PETITECAPS: ::std::os::raw::c_uint = 3; +pub const NS_FONT_VARIANT_CAPS_ALLPETITE: ::std::os::raw::c_uint = 4; +pub const NS_FONT_VARIANT_CAPS_TITLING: ::std::os::raw::c_uint = 5; +pub const NS_FONT_VARIANT_CAPS_UNICASE: ::std::os::raw::c_uint = 6; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS78: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS83: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS90: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_JIS04: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_TRADITIONAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_PROP_WIDTH: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_EAST_ASIAN_RUBY: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NONE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_COMMON: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_COMMON: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_DISCRETIONARY: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_DISCRETIONARY: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_LIGATURES_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_HISTORICAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_CONTEXTUAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_LINING: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_OLDSTYLE: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_PROPORTIONAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_TABULAR: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_DIAGONAL_FRACTIONS: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_NUMERIC_STACKED_FRACTIONS: ::std::os::raw::c_uint = + 1; +pub const NS_FONT_VARIANT_NUMERIC_SLASHZERO: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_NUMERIC_ORDINAL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_POSITION_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_POSITION_SUPER: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_POSITION_SUB: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_WIDTH_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_WIDTH_FULL: ::std::os::raw::c_uint = 1; +pub const NS_FONT_VARIANT_WIDTH_HALF: ::std::os::raw::c_uint = 2; +pub const NS_FONT_VARIANT_WIDTH_THIRD: ::std::os::raw::c_uint = 3; +pub const NS_FONT_VARIANT_WIDTH_QUARTER: ::std::os::raw::c_uint = 4; pub const NS_THEME_NONE: ::std::os::raw::c_uint = 0; pub const NS_THEME_BUTTON: ::std::os::raw::c_uint = 1; pub const NS_THEME_RADIO: ::std::os::raw::c_uint = 2; @@ -160,6 +228,8 @@ pub const NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: ::std::os::raw::c_uint = 245; pub const NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: ::std::os::raw::c_uint = 246; pub const NS_THEME_GTK_INFO_BAR: ::std::os::raw::c_uint = 247; pub const NS_THEME_MAC_SOURCE_LIST: ::std::os::raw::c_uint = 248; +pub const NS_FONT_VARIANT_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_SMALL_CAPS: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0; pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2; |