mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update bindings
This commit is contained in:
parent
a9b748f17a
commit
ea2da6b07b
4 changed files with 2573 additions and 2869 deletions
|
@ -124,6 +124,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_allowmodals: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms20alloworientationlockE"]
|
||||
pub static nsGkAtoms_alloworientationlock: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms19allowpaymentrequestE"]
|
||||
pub static nsGkAtoms_allowpaymentrequest: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms16allowpointerlockE"]
|
||||
pub static nsGkAtoms_allowpointerlock: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms26allowpopupstoescapesandboxE"]
|
||||
|
@ -4338,8 +4340,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms18overlay_scrollbarsE"]
|
||||
pub static nsGkAtoms_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms28windows_accent_color_appliesE"]
|
||||
pub static nsGkAtoms_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms32windows_accent_color_in_titlebarE"]
|
||||
pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms21windows_default_themeE"]
|
||||
pub static nsGkAtoms_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms18mac_graphite_themeE"]
|
||||
|
@ -4390,8 +4392,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms23_moz_overlay_scrollbarsE"]
|
||||
pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms33_moz_windows_accent_color_appliesE"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms37_moz_windows_accent_color_in_titlebarE"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms26_moz_windows_default_themeE"]
|
||||
pub static nsGkAtoms__moz_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms23_moz_mac_graphite_themeE"]
|
||||
|
@ -5251,6 +5253,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_allowmodals: *mut nsIAtom;
|
||||
#[link_name = "?alloworientationlock@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_alloworientationlock: *mut nsIAtom;
|
||||
#[link_name = "?allowpaymentrequest@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_allowpaymentrequest: *mut nsIAtom;
|
||||
#[link_name = "?allowpointerlock@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_allowpointerlock: *mut nsIAtom;
|
||||
#[link_name = "?allowpopupstoescapesandbox@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -9465,8 +9469,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "?overlay_scrollbars@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "?windows_accent_color_applies@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "?windows_accent_color_in_titlebar@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "?windows_default_theme@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "?mac_graphite_theme@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -9517,8 +9521,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "?_moz_overlay_scrollbars@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "?_moz_windows_accent_color_applies@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "?_moz_windows_accent_color_in_titlebar@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "?_moz_windows_default_theme@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms__moz_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "?_moz_mac_graphite_theme@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -10378,6 +10382,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_allowmodals: *mut nsIAtom;
|
||||
#[link_name = "\x01?alloworientationlock@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_alloworientationlock: *mut nsIAtom;
|
||||
#[link_name = "\x01?allowpaymentrequest@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_allowpaymentrequest: *mut nsIAtom;
|
||||
#[link_name = "\x01?allowpointerlock@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_allowpointerlock: *mut nsIAtom;
|
||||
#[link_name = "\x01?allowpopupstoescapesandbox@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -14592,8 +14598,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "\x01?overlay_scrollbars@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "\x01?windows_accent_color_applies@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "\x01?windows_accent_color_in_titlebar@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "\x01?windows_default_theme@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "\x01?mac_graphite_theme@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -14644,8 +14650,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsIAtom;
|
||||
#[link_name = "\x01?_moz_overlay_scrollbars@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsIAtom;
|
||||
#[link_name = "\x01?_moz_windows_accent_color_applies@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_applies: *mut nsIAtom;
|
||||
#[link_name = "\x01?_moz_windows_accent_color_in_titlebar@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsIAtom;
|
||||
#[link_name = "\x01?_moz_windows_default_theme@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms__moz_windows_default_theme: *mut nsIAtom;
|
||||
#[link_name = "\x01?_moz_mac_graphite_theme@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -15508,6 +15514,8 @@ macro_rules! atom {
|
|||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowmodals as *mut _) } };
|
||||
("allow-orientation-lock") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alloworientationlock as *mut _) } };
|
||||
("allowpaymentrequest") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpaymentrequest as *mut _) } };
|
||||
("allow-pointer-lock") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpointerlock as *mut _) } };
|
||||
("allow-popups-to-escape-sandbox") =>
|
||||
|
@ -19722,8 +19730,8 @@ macro_rules! atom {
|
|||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_thumb_proportional as *mut _) } };
|
||||
("overlay-scrollbars") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overlay_scrollbars as *mut _) } };
|
||||
("windows-accent-color-applies") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_accent_color_applies as *mut _) } };
|
||||
("windows-accent-color-in-titlebar") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_accent_color_in_titlebar as *mut _) } };
|
||||
("windows-default-theme") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_default_theme as *mut _) } };
|
||||
("mac-graphite-theme") =>
|
||||
|
@ -19774,8 +19782,8 @@ macro_rules! atom {
|
|||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_thumb_proportional as *mut _) } };
|
||||
("-moz-overlay-scrollbars") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_overlay_scrollbars as *mut _) } };
|
||||
("-moz-windows-accent-color-applies") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_accent_color_applies as *mut _) } };
|
||||
("-moz-windows-accent-color-in-titlebar") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_accent_color_in_titlebar as *mut _) } };
|
||||
("-moz-windows-default-theme") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_default_theme as *mut _) } };
|
||||
("-moz-mac-graphite-theme") =>
|
||||
|
|
|
@ -25,6 +25,7 @@ use gecko_bindings::structs::RawGeckoCSSPropertyIDList;
|
|||
use gecko_bindings::structs::RawGeckoDocument;
|
||||
use gecko_bindings::structs::RawGeckoElement;
|
||||
use gecko_bindings::structs::RawGeckoKeyframeList;
|
||||
use gecko_bindings::structs::RawGeckoPropertyValuePairList;
|
||||
use gecko_bindings::structs::RawGeckoComputedKeyframeValuesList;
|
||||
use gecko_bindings::structs::RawGeckoFontFaceRuleList;
|
||||
use gecko_bindings::structs::RawGeckoNode;
|
||||
|
@ -54,6 +55,7 @@ use gecko_bindings::structs::FontSizePrefs;
|
|||
use gecko_bindings::structs::GeckoFontMetrics;
|
||||
use gecko_bindings::structs::IterationCompositeOperation;
|
||||
use gecko_bindings::structs::Keyframe;
|
||||
use gecko_bindings::structs::PropertyValuePair;
|
||||
use gecko_bindings::structs::ServoBundledURI;
|
||||
use gecko_bindings::structs::ServoElementSnapshot;
|
||||
use gecko_bindings::structs::ServoElementSnapshotTable;
|
||||
|
@ -297,6 +299,10 @@ pub type RawGeckoKeyframeListBorrowed<'a> = &'a RawGeckoKeyframeList;
|
|||
pub type RawGeckoKeyframeListBorrowedOrNull<'a> = Option<&'a RawGeckoKeyframeList>;
|
||||
pub type RawGeckoKeyframeListBorrowedMut<'a> = &'a mut RawGeckoKeyframeList;
|
||||
pub type RawGeckoKeyframeListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoKeyframeList>;
|
||||
pub type RawGeckoPropertyValuePairListBorrowed<'a> = &'a RawGeckoPropertyValuePairList;
|
||||
pub type RawGeckoPropertyValuePairListBorrowedOrNull<'a> = Option<&'a RawGeckoPropertyValuePairList>;
|
||||
pub type RawGeckoPropertyValuePairListBorrowedMut<'a> = &'a mut RawGeckoPropertyValuePairList;
|
||||
pub type RawGeckoPropertyValuePairListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoPropertyValuePairList>;
|
||||
pub type RawGeckoComputedKeyframeValuesListBorrowed<'a> = &'a RawGeckoComputedKeyframeValuesList;
|
||||
pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = Option<&'a RawGeckoComputedKeyframeValuesList>;
|
||||
pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = &'a mut RawGeckoComputedKeyframeValuesList;
|
||||
|
@ -1164,6 +1170,12 @@ extern "C" {
|
|||
*const nsTimingFunction)
|
||||
-> *mut Keyframe;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AppendPropertyValuePair(aProperties:
|
||||
RawGeckoPropertyValuePairListBorrowedMut,
|
||||
aProperty: nsCSSPropertyID)
|
||||
-> *mut PropertyValuePair;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ResetStyleCoord(unit: *mut nsStyleUnit,
|
||||
value: *mut nsStyleUnion);
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue