style: Update bindings.

MozReview-Commit-ID: BAXvyXmZWzo
This commit is contained in:
Emilio Cobos Álvarez 2017-11-13 01:37:15 +01:00
parent a76cb65751
commit 1309573b98
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 98 additions and 21 deletions

View file

@ -4398,6 +4398,14 @@ cfg_if! {
pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms23swipe_animation_enabledE"] #[link_name = "_ZN9nsGkAtoms23swipe_animation_enabledE"]
pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms17gtk_csd_availableE"]
pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms23gtk_csd_minimize_buttonE"]
pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms23gtk_csd_maximize_buttonE"]
pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms20gtk_csd_close_buttonE"]
pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms15windows_classicE"] #[link_name = "_ZN9nsGkAtoms15windows_classicE"]
pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; pub static nsGkAtoms_windows_classic: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms18windows_theme_aeroE"] #[link_name = "_ZN9nsGkAtoms18windows_theme_aeroE"]
@ -4458,6 +4466,14 @@ cfg_if! {
pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms28_moz_swipe_animation_enabledE"] #[link_name = "_ZN9nsGkAtoms28_moz_swipe_animation_enabledE"]
pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms22_moz_gtk_csd_availableE"]
pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms28_moz_gtk_csd_minimize_buttonE"]
pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms28_moz_gtk_csd_maximize_buttonE"]
pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms25_moz_gtk_csd_close_buttonE"]
pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms4BackE"] #[link_name = "_ZN9nsGkAtoms4BackE"]
pub static nsGkAtoms_Back: *mut nsStaticAtom; pub static nsGkAtoms_Back: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms7ForwardE"] #[link_name = "_ZN9nsGkAtoms7ForwardE"]
@ -9561,6 +9577,14 @@ cfg_if! {
pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom;
#[link_name = "?swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "?gtk_csd_available@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "?gtk_csd_minimize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "?gtk_csd_maximize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "?gtk_csd_close_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "?windows_classic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?windows_classic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; pub static nsGkAtoms_windows_classic: *mut nsStaticAtom;
#[link_name = "?windows_theme_aero@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?windows_theme_aero@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -9621,6 +9645,14 @@ cfg_if! {
pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom;
#[link_name = "?_moz_swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?_moz_swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "?_moz_gtk_csd_available@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "?_moz_gtk_csd_minimize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "?_moz_gtk_csd_maximize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "?_moz_gtk_csd_close_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "?Back@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?Back@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_Back: *mut nsStaticAtom; pub static nsGkAtoms_Back: *mut nsStaticAtom;
#[link_name = "?Forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] #[link_name = "?Forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -14724,6 +14756,14 @@ cfg_if! {
pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom;
#[link_name = "\x01?swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "\x01?gtk_csd_available@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "\x01?gtk_csd_minimize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "\x01?gtk_csd_maximize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "\x01?gtk_csd_close_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "\x01?windows_classic@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?windows_classic@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; pub static nsGkAtoms_windows_classic: *mut nsStaticAtom;
#[link_name = "\x01?windows_theme_aero@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?windows_theme_aero@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -14784,6 +14824,14 @@ cfg_if! {
pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom;
#[link_name = "\x01?_moz_swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?_moz_swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom;
#[link_name = "\x01?_moz_gtk_csd_available@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom;
#[link_name = "\x01?_moz_gtk_csd_minimize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom;
#[link_name = "\x01?_moz_gtk_csd_maximize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom;
#[link_name = "\x01?_moz_gtk_csd_close_button@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom;
#[link_name = "\x01?Back@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?Back@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_Back: *mut nsStaticAtom; pub static nsGkAtoms_Back: *mut nsStaticAtom;
#[link_name = "\x01?Forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] #[link_name = "\x01?Forward@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -19890,6 +19938,14 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menubar_drag as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menubar_drag as *mut _) } };
("swipe-animation-enabled") => ("swipe-animation-enabled") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_swipe_animation_enabled as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_swipe_animation_enabled as *mut _) } };
("gtk-csd-available") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_available as *mut _) } };
("gtk-csd-minimize-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_minimize_button as *mut _) } };
("gtk-csd-maximize-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_maximize_button as *mut _) } };
("gtk-csd-close-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_close_button as *mut _) } };
("windows-classic") => ("windows-classic") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_classic as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_classic as *mut _) } };
("windows-theme-aero") => ("windows-theme-aero") =>
@ -19950,6 +20006,14 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_is_resource_document as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_is_resource_document as *mut _) } };
("-moz-swipe-animation-enabled") => ("-moz-swipe-animation-enabled") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_swipe_animation_enabled as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_swipe_animation_enabled as *mut _) } };
("-moz-gtk-csd-available") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_available as *mut _) } };
("-moz-gtk-csd-minimize-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_minimize_button as *mut _) } };
("-moz-gtk-csd-maximize-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_maximize_button as *mut _) } };
("-moz-gtk-csd-close-button") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_close_button as *mut _) } };
("Back") => ("Back") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Back as *mut _) } }; { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Back as *mut _) } };
("Forward") => ("Forward") =>

View file

@ -50,6 +50,7 @@ use gecko_bindings::structs::RawGeckoServoStyleRuleList;
use gecko_bindings::structs::RawGeckoURLExtraData; use gecko_bindings::structs::RawGeckoURLExtraData;
use gecko_bindings::structs::RawGeckoXBLBinding; use gecko_bindings::structs::RawGeckoXBLBinding;
use gecko_bindings::structs::RawServoSelectorList; use gecko_bindings::structs::RawServoSelectorList;
use gecko_bindings::structs::RawServoSourceSizeList;
use gecko_bindings::structs::RefPtr; use gecko_bindings::structs::RefPtr;
use gecko_bindings::structs::RustString; use gecko_bindings::structs::RustString;
use gecko_bindings::structs::CSSPseudoClassType; use gecko_bindings::structs::CSSPseudoClassType;
@ -263,6 +264,12 @@ pub type RawServoSelectorListBorrowed<'a> = &'a RawServoSelectorList;
pub type RawServoSelectorListBorrowedOrNull<'a> = Option<&'a RawServoSelectorList>; pub type RawServoSelectorListBorrowedOrNull<'a> = Option<&'a RawServoSelectorList>;
pub type RawServoSelectorListBorrowedMut<'a> = &'a mut RawServoSelectorList; pub type RawServoSelectorListBorrowedMut<'a> = &'a mut RawServoSelectorList;
pub type RawServoSelectorListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSelectorList>; pub type RawServoSelectorListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSelectorList>;
pub type RawServoSourceSizeListOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoSourceSizeList>;
pub type RawServoSourceSizeListOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoSourceSizeList>;
pub type RawServoSourceSizeListBorrowed<'a> = &'a RawServoSourceSizeList;
pub type RawServoSourceSizeListBorrowedOrNull<'a> = Option<&'a RawServoSourceSizeList>;
pub type RawServoSourceSizeListBorrowedMut<'a> = &'a mut RawServoSourceSizeList;
pub type RawServoSourceSizeListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSourceSizeList>;
pub type ServoElementSnapshotOwned = ::gecko_bindings::sugar::ownership::Owned<ServoElementSnapshot>; pub type ServoElementSnapshotOwned = ::gecko_bindings::sugar::ownership::Owned<ServoElementSnapshot>;
pub type ServoElementSnapshotOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<ServoElementSnapshot>; pub type ServoElementSnapshotOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<ServoElementSnapshot>;
pub type ServoElementSnapshotBorrowed<'a> = &'a ServoElementSnapshot; pub type ServoElementSnapshotBorrowed<'a> = &'a ServoElementSnapshot;
@ -488,6 +495,8 @@ extern "C" {
pub fn Servo_StyleSet_Drop ( ptr : RawServoStyleSetOwned , ) ; pub fn Servo_StyleSet_Drop ( ptr : RawServoStyleSetOwned , ) ;
} extern "C" { } extern "C" {
pub fn Servo_SelectorList_Drop ( ptr : RawServoSelectorListOwned , ) ; pub fn Servo_SelectorList_Drop ( ptr : RawServoSelectorListOwned , ) ;
} extern "C" {
pub fn Servo_SourceSizeList_Drop ( ptr : RawServoSourceSizeListOwned , ) ;
} extern "C" { } extern "C" {
pub fn Gecko_IsInDocument ( node : RawGeckoNodeBorrowed , ) -> bool ; pub fn Gecko_IsInDocument ( node : RawGeckoNodeBorrowed , ) -> bool ;
} extern "C" { } extern "C" {
@ -1206,6 +1215,10 @@ extern "C" {
pub fn Servo_StyleSet_ResolveForDeclarations ( set : RawServoStyleSetBorrowed , parent_style : ServoStyleContextBorrowedOrNull , declarations : RawServoDeclarationBlockBorrowed , ) -> ServoStyleContextStrong ; pub fn Servo_StyleSet_ResolveForDeclarations ( set : RawServoStyleSetBorrowed , parent_style : ServoStyleContextBorrowedOrNull , declarations : RawServoDeclarationBlockBorrowed , ) -> ServoStyleContextStrong ;
} extern "C" { } extern "C" {
pub fn Servo_SelectorList_Parse ( selector_list : * const nsACString , ) -> * mut RawServoSelectorList ; pub fn Servo_SelectorList_Parse ( selector_list : * const nsACString , ) -> * mut RawServoSelectorList ;
} extern "C" {
pub fn Servo_SourceSizeList_Parse ( value : * const nsACString , ) -> * mut RawServoSourceSizeList ;
} extern "C" {
pub fn Servo_SourceSizeList_Evaluate ( set : RawServoStyleSetBorrowed , arg1 : RawServoSourceSizeListBorrowedOrNull , ) -> i32 ;
} extern "C" { } extern "C" {
pub fn Servo_SelectorList_Matches ( arg1 : RawGeckoElementBorrowed , arg2 : RawServoSelectorListBorrowed , ) -> bool ; pub fn Servo_SelectorList_Matches ( arg1 : RawGeckoElementBorrowed , arg2 : RawServoSelectorListBorrowed , ) -> bool ;
} extern "C" { } extern "C" {

File diff suppressed because one or more lines are too long