Auto merge of #13991 - bholley:regen_bindings, r=emilio

Regenerate bindings for mozilla-central rev e3279760cd977aac30bd9e8032d3ee71f55d2a67

Just pushed an update to incubator, here are the regenerated bindings.

r? @heycam

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13991)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-30 17:57:42 -05:00 committed by GitHub
commit 46791b8158
6 changed files with 1469 additions and 1056 deletions

View file

@ -86,6 +86,7 @@ COMPILATION_TARGETS = {
"AudioContext", "AudioContext",
"CapturingContentInfo", "CapturingContentInfo",
"DefaultDelete", "DefaultDelete",
"DOMIntersectionObserverEntry",
"Element", "Element",
"FontFamilyList", "FontFamilyList",
"FontFamilyListRefCnt", "FontFamilyListRefCnt",

View file

@ -175,6 +175,32 @@ use gecko_bindings::structs::nsStyleXUL;
unsafe impl Send for nsStyleXUL {} unsafe impl Send for nsStyleXUL {}
unsafe impl Sync for nsStyleXUL {} unsafe impl Sync for nsStyleXUL {}
pub type RawGeckoNode = nsINode;
pub type RawGeckoElement = Element;
pub type RawGeckoDocument = nsIDocument;
extern "C" {
pub fn Servo_StyleSheet_AddRef(ptr: RawServoStyleSheetBorrowed);
}
extern "C" {
pub fn Servo_StyleSheet_Release(ptr: RawServoStyleSheetBorrowed);
}
extern "C" {
pub fn Servo_ComputedValues_AddRef(ptr: ServoComputedValuesBorrowed);
}
extern "C" {
pub fn Servo_ComputedValues_Release(ptr: ServoComputedValuesBorrowed);
}
extern "C" {
pub fn Servo_DeclarationBlock_AddRef(ptr:
RawServoDeclarationBlockBorrowed);
}
extern "C" {
pub fn Servo_DeclarationBlock_Release(ptr:
RawServoDeclarationBlockBorrowed);
}
extern "C" {
pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
}
extern "C" { extern "C" {
pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void, pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void,
aCapacity: usize, aElementSize: usize); aCapacity: usize, aElementSize: usize);
@ -183,9 +209,6 @@ extern "C" {
pub fn Gecko_ClearPODTArray(aArray: *mut ::std::os::raw::c_void, pub fn Gecko_ClearPODTArray(aArray: *mut ::std::os::raw::c_void,
aElementSize: usize, aElementAlign: usize); aElementSize: usize, aElementAlign: usize);
} }
pub type RawGeckoNode = nsINode;
pub type RawGeckoElement = Element;
pub type RawGeckoDocument = nsIDocument;
pub type ThreadSafePrincipalHolder = nsMainThreadPtrHolder<nsIPrincipal>; pub type ThreadSafePrincipalHolder = nsMainThreadPtrHolder<nsIPrincipal>;
extern "C" { extern "C" {
pub fn Gecko_AddRefPrincipalArbitraryThread(aPtr: pub fn Gecko_AddRefPrincipalArbitraryThread(aPtr:
@ -851,12 +874,6 @@ extern "C" {
*mut ThreadSafePrincipalHolder) *mut ThreadSafePrincipalHolder)
-> RawServoStyleSheetStrong; -> RawServoStyleSheetStrong;
} }
extern "C" {
pub fn Servo_StyleSheet_AddRef(sheet: RawServoStyleSheetBorrowed);
}
extern "C" {
pub fn Servo_StyleSheet_Release(sheet: RawServoStyleSheetBorrowed);
}
extern "C" { extern "C" {
pub fn Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetBorrowed) pub fn Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetBorrowed)
-> bool; -> bool;
@ -864,9 +881,6 @@ extern "C" {
extern "C" { extern "C" {
pub fn Servo_StyleSet_Init() -> RawServoStyleSetOwned; pub fn Servo_StyleSet_Init() -> RawServoStyleSetOwned;
} }
extern "C" {
pub fn Servo_StyleSet_Drop(set: RawServoStyleSetOwned);
}
extern "C" { extern "C" {
pub fn Servo_StyleSet_AppendStyleSheet(set: RawServoStyleSetBorrowed, pub fn Servo_StyleSet_AppendStyleSheet(set: RawServoStyleSetBorrowed,
sheet: RawServoStyleSheetBorrowed); sheet: RawServoStyleSheetBorrowed);
@ -908,14 +922,6 @@ extern "C" {
pub fn Servo_ParseStyleAttribute(data: *const nsACString_internal) pub fn Servo_ParseStyleAttribute(data: *const nsACString_internal)
-> RawServoDeclarationBlockStrong; -> RawServoDeclarationBlockStrong;
} }
extern "C" {
pub fn Servo_DeclarationBlock_AddRef(declarations:
RawServoDeclarationBlockBorrowed);
}
extern "C" {
pub fn Servo_DeclarationBlock_Release(declarations:
RawServoDeclarationBlockBorrowed);
}
extern "C" { extern "C" {
pub fn Servo_DeclarationBlock_Equals(a: RawServoDeclarationBlockBorrowed, pub fn Servo_DeclarationBlock_Equals(a: RawServoDeclarationBlockBorrowed,
b: RawServoDeclarationBlockBorrowed) b: RawServoDeclarationBlockBorrowed)
@ -958,14 +964,6 @@ extern "C" {
ServoComputedValuesBorrowedOrNull) ServoComputedValuesBorrowedOrNull)
-> ServoComputedValuesStrong; -> ServoComputedValuesStrong;
} }
extern "C" {
pub fn Servo_ComputedValues_AddRef(computed_values:
ServoComputedValuesBorrowed);
}
extern "C" {
pub fn Servo_ComputedValues_Release(computed_values:
ServoComputedValuesBorrowed);
}
extern "C" { extern "C" {
pub fn Servo_Initialize(); pub fn Servo_Initialize();
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1834,6 +1834,10 @@ cfg_if! {
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom; pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms15ontransitionendE"] #[link_name = "_ZN9nsGkAtoms15ontransitionendE"]
pub static nsGkAtoms_ontransitionend: *mut nsIAtom; pub static nsGkAtoms_ontransitionend: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms15ontransitionrunE"]
pub static nsGkAtoms_ontransitionrun: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms17ontransitionstartE"]
pub static nsGkAtoms_ontransitionstart: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms11onunderflowE"] #[link_name = "_ZN9nsGkAtoms11onunderflowE"]
pub static nsGkAtoms_onunderflow: *mut nsIAtom; pub static nsGkAtoms_onunderflow: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms8onunloadE"] #[link_name = "_ZN9nsGkAtoms8onunloadE"]
@ -4480,10 +4484,14 @@ cfg_if! {
pub static nsGkAtoms_aria_controls: *mut nsIAtom; pub static nsGkAtoms_aria_controls: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms16aria_describedbyE"] #[link_name = "_ZN9nsGkAtoms16aria_describedbyE"]
pub static nsGkAtoms_aria_describedby: *mut nsIAtom; pub static nsGkAtoms_aria_describedby: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms12aria_detailsE"]
pub static nsGkAtoms_aria_details: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms13aria_disabledE"] #[link_name = "_ZN9nsGkAtoms13aria_disabledE"]
pub static nsGkAtoms_aria_disabled: *mut nsIAtom; pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms15aria_dropeffectE"] #[link_name = "_ZN9nsGkAtoms15aria_dropeffectE"]
pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom; pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms17aria_errormessageE"]
pub static nsGkAtoms_aria_errormessage: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms13aria_expandedE"] #[link_name = "_ZN9nsGkAtoms13aria_expandedE"]
pub static nsGkAtoms_aria_expanded: *mut nsIAtom; pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms11aria_flowtoE"] #[link_name = "_ZN9nsGkAtoms11aria_flowtoE"]
@ -6739,6 +6747,10 @@ cfg_if! {
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom; pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
#[link_name = "?ontransitionend@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?ontransitionend@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_ontransitionend: *mut nsIAtom; pub static nsGkAtoms_ontransitionend: *mut nsIAtom;
#[link_name = "?ontransitionrun@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_ontransitionrun: *mut nsIAtom;
#[link_name = "?ontransitionstart@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_ontransitionstart: *mut nsIAtom;
#[link_name = "?onunderflow@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?onunderflow@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_onunderflow: *mut nsIAtom; pub static nsGkAtoms_onunderflow: *mut nsIAtom;
#[link_name = "?onunload@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?onunload@nsGkAtoms@@2PEAVnsIAtom@@EA"]
@ -9385,10 +9397,14 @@ cfg_if! {
pub static nsGkAtoms_aria_controls: *mut nsIAtom; pub static nsGkAtoms_aria_controls: *mut nsIAtom;
#[link_name = "?aria_describedby@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?aria_describedby@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_describedby: *mut nsIAtom; pub static nsGkAtoms_aria_describedby: *mut nsIAtom;
#[link_name = "?aria_details@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_details: *mut nsIAtom;
#[link_name = "?aria_disabled@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?aria_disabled@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_disabled: *mut nsIAtom; pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
#[link_name = "?aria_dropeffect@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?aria_dropeffect@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom; pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom;
#[link_name = "?aria_errormessage@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_errormessage: *mut nsIAtom;
#[link_name = "?aria_expanded@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?aria_expanded@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_aria_expanded: *mut nsIAtom; pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
#[link_name = "?aria_flowto@nsGkAtoms@@2PEAVnsIAtom@@EA"] #[link_name = "?aria_flowto@nsGkAtoms@@2PEAVnsIAtom@@EA"]
@ -11644,6 +11660,10 @@ cfg_if! {
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom; pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
#[link_name = "\x01?ontransitionend@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?ontransitionend@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_ontransitionend: *mut nsIAtom; pub static nsGkAtoms_ontransitionend: *mut nsIAtom;
#[link_name = "\x01?ontransitionrun@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_ontransitionrun: *mut nsIAtom;
#[link_name = "\x01?ontransitionstart@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_ontransitionstart: *mut nsIAtom;
#[link_name = "\x01?onunderflow@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?onunderflow@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_onunderflow: *mut nsIAtom; pub static nsGkAtoms_onunderflow: *mut nsIAtom;
#[link_name = "\x01?onunload@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?onunload@nsGkAtoms@@2PAVnsIAtom@@A"]
@ -14290,10 +14310,14 @@ cfg_if! {
pub static nsGkAtoms_aria_controls: *mut nsIAtom; pub static nsGkAtoms_aria_controls: *mut nsIAtom;
#[link_name = "\x01?aria_describedby@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?aria_describedby@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_describedby: *mut nsIAtom; pub static nsGkAtoms_aria_describedby: *mut nsIAtom;
#[link_name = "\x01?aria_details@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_details: *mut nsIAtom;
#[link_name = "\x01?aria_disabled@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?aria_disabled@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_disabled: *mut nsIAtom; pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
#[link_name = "\x01?aria_dropeffect@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?aria_dropeffect@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom; pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom;
#[link_name = "\x01?aria_errormessage@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_errormessage: *mut nsIAtom;
#[link_name = "\x01?aria_expanded@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?aria_expanded@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_aria_expanded: *mut nsIAtom; pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
#[link_name = "\x01?aria_flowto@nsGkAtoms@@2PAVnsIAtom@@A"] #[link_name = "\x01?aria_flowto@nsGkAtoms@@2PAVnsIAtom@@A"]
@ -16552,6 +16576,10 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchcancel as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchcancel as *mut _) } };
("ontransitionend") => ("ontransitionend") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionend as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionend as *mut _) } };
("ontransitionrun") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionrun as *mut _) } };
("ontransitionstart") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionstart as *mut _) } };
("onunderflow") => ("onunderflow") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunderflow as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunderflow as *mut _) } };
("onunload") => ("onunload") =>
@ -19198,10 +19226,14 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_controls as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_controls as *mut _) } };
("aria-describedby") => ("aria-describedby") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_describedby as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_describedby as *mut _) } };
("aria-details") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_details as *mut _) } };
("aria-disabled") => ("aria-disabled") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_disabled as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_disabled as *mut _) } };
("aria-dropeffect") => ("aria-dropeffect") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_dropeffect as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_dropeffect as *mut _) } };
("aria-errormessage") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_errormessage as *mut _) } };
("aria-expanded") => ("aria-expanded") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_expanded as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_expanded as *mut _) } };
("aria-flowto") => ("aria-flowto") =>

View file

@ -60,12 +60,12 @@ ${helpers.single_keyword("pointer-events", "auto none", animatable=False)}
${helpers.single_keyword("-moz-user-input", "none enabled disabled", ${helpers.single_keyword("-moz-user-input", "none enabled disabled",
products="gecko", gecko_ffi_name="mUserInput", products="gecko", gecko_ffi_name="mUserInput",
gecko_constant_prefix="NS_STYLE_USER_INPUT", gecko_enum_prefix="StyleUserInput",
animatable=False)} animatable=False)}
${helpers.single_keyword("-moz-user-modify", "read-only read-write write-only", ${helpers.single_keyword("-moz-user-modify", "read-only read-write write-only",
products="gecko", gecko_ffi_name="mUserModify", products="gecko", gecko_ffi_name="mUserModify",
gecko_constant_prefix="NS_STYLE_USER_MODIFY", gecko_enum_prefix="StyleUserModify",
animatable=False)} animatable=False)}
${helpers.single_keyword("-moz-user-focus", ${helpers.single_keyword("-moz-user-focus",