mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
commit
46791b8158
6 changed files with 1469 additions and 1056 deletions
|
@ -86,6 +86,7 @@ COMPILATION_TARGETS = {
|
|||
"AudioContext",
|
||||
"CapturingContentInfo",
|
||||
"DefaultDelete",
|
||||
"DOMIntersectionObserverEntry",
|
||||
"Element",
|
||||
"FontFamilyList",
|
||||
"FontFamilyListRefCnt",
|
||||
|
|
|
@ -175,6 +175,32 @@ use gecko_bindings::structs::nsStyleXUL;
|
|||
unsafe impl Send 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" {
|
||||
pub fn Gecko_EnsureTArrayCapacity(aArray: *mut ::std::os::raw::c_void,
|
||||
aCapacity: usize, aElementSize: usize);
|
||||
|
@ -183,9 +209,6 @@ extern "C" {
|
|||
pub fn Gecko_ClearPODTArray(aArray: *mut ::std::os::raw::c_void,
|
||||
aElementSize: usize, aElementAlign: usize);
|
||||
}
|
||||
pub type RawGeckoNode = nsINode;
|
||||
pub type RawGeckoElement = Element;
|
||||
pub type RawGeckoDocument = nsIDocument;
|
||||
pub type ThreadSafePrincipalHolder = nsMainThreadPtrHolder<nsIPrincipal>;
|
||||
extern "C" {
|
||||
pub fn Gecko_AddRefPrincipalArbitraryThread(aPtr:
|
||||
|
@ -851,12 +874,6 @@ extern "C" {
|
|||
*mut ThreadSafePrincipalHolder)
|
||||
-> RawServoStyleSheetStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSheet_AddRef(sheet: RawServoStyleSheetBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSheet_Release(sheet: RawServoStyleSheetBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetBorrowed)
|
||||
-> bool;
|
||||
|
@ -864,9 +881,6 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Servo_StyleSet_Init() -> RawServoStyleSetOwned;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_Drop(set: RawServoStyleSetOwned);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_AppendStyleSheet(set: RawServoStyleSetBorrowed,
|
||||
sheet: RawServoStyleSheetBorrowed);
|
||||
|
@ -908,14 +922,6 @@ extern "C" {
|
|||
pub fn Servo_ParseStyleAttribute(data: *const nsACString_internal)
|
||||
-> RawServoDeclarationBlockStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_AddRef(declarations:
|
||||
RawServoDeclarationBlockBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_Release(declarations:
|
||||
RawServoDeclarationBlockBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_Equals(a: RawServoDeclarationBlockBorrowed,
|
||||
b: RawServoDeclarationBlockBorrowed)
|
||||
|
@ -958,14 +964,6 @@ extern "C" {
|
|||
ServoComputedValuesBorrowedOrNull)
|
||||
-> ServoComputedValuesStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ComputedValues_AddRef(computed_values:
|
||||
ServoComputedValuesBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ComputedValues_Release(computed_values:
|
||||
ServoComputedValuesBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Initialize();
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1834,6 +1834,10 @@ cfg_if! {
|
|||
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms15ontransitionendE"]
|
||||
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"]
|
||||
pub static nsGkAtoms_onunderflow: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms8onunloadE"]
|
||||
|
@ -4480,10 +4484,14 @@ cfg_if! {
|
|||
pub static nsGkAtoms_aria_controls: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms16aria_describedbyE"]
|
||||
pub static nsGkAtoms_aria_describedby: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms12aria_detailsE"]
|
||||
pub static nsGkAtoms_aria_details: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms13aria_disabledE"]
|
||||
pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms15aria_dropeffectE"]
|
||||
pub static nsGkAtoms_aria_dropeffect: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms17aria_errormessageE"]
|
||||
pub static nsGkAtoms_aria_errormessage: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms13aria_expandedE"]
|
||||
pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms11aria_flowtoE"]
|
||||
|
@ -6739,6 +6747,10 @@ cfg_if! {
|
|||
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
|
||||
#[link_name = "?ontransitionend@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
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"]
|
||||
pub static nsGkAtoms_onunderflow: *mut nsIAtom;
|
||||
#[link_name = "?onunload@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -9385,10 +9397,14 @@ cfg_if! {
|
|||
pub static nsGkAtoms_aria_controls: *mut nsIAtom;
|
||||
#[link_name = "?aria_describedby@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
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"]
|
||||
pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
|
||||
#[link_name = "?aria_dropeffect@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
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"]
|
||||
pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
|
||||
#[link_name = "?aria_flowto@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -11644,6 +11660,10 @@ cfg_if! {
|
|||
pub static nsGkAtoms_ontouchcancel: *mut nsIAtom;
|
||||
#[link_name = "\x01?ontransitionend@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
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"]
|
||||
pub static nsGkAtoms_onunderflow: *mut nsIAtom;
|
||||
#[link_name = "\x01?onunload@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -14290,10 +14310,14 @@ cfg_if! {
|
|||
pub static nsGkAtoms_aria_controls: *mut nsIAtom;
|
||||
#[link_name = "\x01?aria_describedby@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
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"]
|
||||
pub static nsGkAtoms_aria_disabled: *mut nsIAtom;
|
||||
#[link_name = "\x01?aria_dropeffect@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
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"]
|
||||
pub static nsGkAtoms_aria_expanded: *mut nsIAtom;
|
||||
#[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 _) } };
|
||||
("ontransitionend") =>
|
||||
{ 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") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunderflow as *mut _) } };
|
||||
("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 _) } };
|
||||
("aria-describedby") =>
|
||||
{ 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") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_disabled as *mut _) } };
|
||||
("aria-dropeffect") =>
|
||||
{ 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") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_expanded as *mut _) } };
|
||||
("aria-flowto") =>
|
||||
|
|
|
@ -60,12 +60,12 @@ ${helpers.single_keyword("pointer-events", "auto none", animatable=False)}
|
|||
|
||||
${helpers.single_keyword("-moz-user-input", "none enabled disabled",
|
||||
products="gecko", gecko_ffi_name="mUserInput",
|
||||
gecko_constant_prefix="NS_STYLE_USER_INPUT",
|
||||
gecko_enum_prefix="StyleUserInput",
|
||||
animatable=False)}
|
||||
|
||||
${helpers.single_keyword("-moz-user-modify", "read-only read-write write-only",
|
||||
products="gecko", gecko_ffi_name="mUserModify",
|
||||
gecko_constant_prefix="NS_STYLE_USER_MODIFY",
|
||||
gecko_enum_prefix="StyleUserModify",
|
||||
animatable=False)}
|
||||
|
||||
${helpers.single_keyword("-moz-user-focus",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue