mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
stylo: Regenerate the world.
This commit is contained in:
parent
df44ba40a4
commit
b1091dff58
6 changed files with 10496 additions and 9453 deletions
277
components/style/generated/gecko_pseudo_element_helper.rs
Normal file
277
components/style/generated/gecko_pseudo_element_helper.rs
Normal file
|
@ -0,0 +1,277 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* Autogenerated file, DO NOT EDIT DIRECTLY */
|
||||
|
||||
/*
|
||||
* This file contains a helper macro invocation to aid Gecko's style system
|
||||
* pseudo-element integration.
|
||||
*
|
||||
* This file is NOT INTENDED to be compiled as a standalone module.
|
||||
*
|
||||
* Also, it guarantees the property that normal pseudo-elements are processed
|
||||
* before anonymous boxes.
|
||||
*
|
||||
* Expected usage is as follows:
|
||||
*
|
||||
* ```
|
||||
* fn have_to_use_pseudo_elements() {
|
||||
* macro_rules pseudo_element! {
|
||||
* ($pseudo_str_with_colon:expr, $pseudo_atom:expr, $is_anon_box:true) => {{
|
||||
* // Stuff stuff stuff.
|
||||
* }}
|
||||
* }
|
||||
* include!("path/to/helper.rs")
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
{
|
||||
pseudo_element!(":after",
|
||||
atom!(":after"),
|
||||
false);
|
||||
pseudo_element!(":before",
|
||||
atom!(":before"),
|
||||
false);
|
||||
pseudo_element!(":backdrop",
|
||||
atom!(":backdrop"),
|
||||
false);
|
||||
pseudo_element!(":first-letter",
|
||||
atom!(":first-letter"),
|
||||
false);
|
||||
pseudo_element!(":first-line",
|
||||
atom!(":first-line"),
|
||||
false);
|
||||
pseudo_element!(":-moz-selection",
|
||||
atom!(":-moz-selection"),
|
||||
false);
|
||||
pseudo_element!(":-moz-focus-inner",
|
||||
atom!(":-moz-focus-inner"),
|
||||
false);
|
||||
pseudo_element!(":-moz-focus-outer",
|
||||
atom!(":-moz-focus-outer"),
|
||||
false);
|
||||
pseudo_element!(":-moz-list-bullet",
|
||||
atom!(":-moz-list-bullet"),
|
||||
false);
|
||||
pseudo_element!(":-moz-list-number",
|
||||
atom!(":-moz-list-number"),
|
||||
false);
|
||||
pseudo_element!(":-moz-math-anonymous",
|
||||
atom!(":-moz-math-anonymous"),
|
||||
false);
|
||||
pseudo_element!(":-moz-number-wrapper",
|
||||
atom!(":-moz-number-wrapper"),
|
||||
false);
|
||||
pseudo_element!(":-moz-number-text",
|
||||
atom!(":-moz-number-text"),
|
||||
false);
|
||||
pseudo_element!(":-moz-number-spin-box",
|
||||
atom!(":-moz-number-spin-box"),
|
||||
false);
|
||||
pseudo_element!(":-moz-number-spin-up",
|
||||
atom!(":-moz-number-spin-up"),
|
||||
false);
|
||||
pseudo_element!(":-moz-number-spin-down",
|
||||
atom!(":-moz-number-spin-down"),
|
||||
false);
|
||||
pseudo_element!(":-moz-progress-bar",
|
||||
atom!(":-moz-progress-bar"),
|
||||
false);
|
||||
pseudo_element!(":-moz-range-track",
|
||||
atom!(":-moz-range-track"),
|
||||
false);
|
||||
pseudo_element!(":-moz-range-progress",
|
||||
atom!(":-moz-range-progress"),
|
||||
false);
|
||||
pseudo_element!(":-moz-range-thumb",
|
||||
atom!(":-moz-range-thumb"),
|
||||
false);
|
||||
pseudo_element!(":-moz-meter-bar",
|
||||
atom!(":-moz-meter-bar"),
|
||||
false);
|
||||
pseudo_element!(":-moz-placeholder",
|
||||
atom!(":-moz-placeholder"),
|
||||
false);
|
||||
pseudo_element!(":-moz-color-swatch",
|
||||
atom!(":-moz-color-swatch"),
|
||||
false);
|
||||
pseudo_element!(":-moz-text",
|
||||
atom!(":-moz-text"),
|
||||
true);
|
||||
pseudo_element!(":-moz-other-non-element",
|
||||
atom!(":-moz-other-non-element"),
|
||||
true);
|
||||
pseudo_element!(":-moz-anonymous-block",
|
||||
atom!(":-moz-anonymous-block"),
|
||||
true);
|
||||
pseudo_element!(":-moz-anonymous-positioned-block",
|
||||
atom!(":-moz-anonymous-positioned-block"),
|
||||
true);
|
||||
pseudo_element!(":-moz-mathml-anonymous-block",
|
||||
atom!(":-moz-mathml-anonymous-block"),
|
||||
true);
|
||||
pseudo_element!(":-moz-xul-anonymous-block",
|
||||
atom!(":-moz-xul-anonymous-block"),
|
||||
true);
|
||||
pseudo_element!(":-moz-hframeset-border",
|
||||
atom!(":-moz-hframeset-border"),
|
||||
true);
|
||||
pseudo_element!(":-moz-vframeset-border",
|
||||
atom!(":-moz-vframeset-border"),
|
||||
true);
|
||||
pseudo_element!(":-moz-line-frame",
|
||||
atom!(":-moz-line-frame"),
|
||||
true);
|
||||
pseudo_element!(":-moz-button-content",
|
||||
atom!(":-moz-button-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-buttonlabel",
|
||||
atom!(":-moz-buttonlabel"),
|
||||
true);
|
||||
pseudo_element!(":-moz-cell-content",
|
||||
atom!(":-moz-cell-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-dropdown-list",
|
||||
atom!(":-moz-dropdown-list"),
|
||||
true);
|
||||
pseudo_element!(":-moz-fieldset-content",
|
||||
atom!(":-moz-fieldset-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-frameset-blank",
|
||||
atom!(":-moz-frameset-blank"),
|
||||
true);
|
||||
pseudo_element!(":-moz-display-comboboxcontrol-frame",
|
||||
atom!(":-moz-display-comboboxcontrol-frame"),
|
||||
true);
|
||||
pseudo_element!(":-moz-html-canvas-content",
|
||||
atom!(":-moz-html-canvas-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-inline-table",
|
||||
atom!(":-moz-inline-table"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table",
|
||||
atom!(":-moz-table"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-cell",
|
||||
atom!(":-moz-table-cell"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-column-group",
|
||||
atom!(":-moz-table-column-group"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-column",
|
||||
atom!(":-moz-table-column"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-wrapper",
|
||||
atom!(":-moz-table-wrapper"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-row-group",
|
||||
atom!(":-moz-table-row-group"),
|
||||
true);
|
||||
pseudo_element!(":-moz-table-row",
|
||||
atom!(":-moz-table-row"),
|
||||
true);
|
||||
pseudo_element!(":-moz-canvas",
|
||||
atom!(":-moz-canvas"),
|
||||
true);
|
||||
pseudo_element!(":-moz-pagebreak",
|
||||
atom!(":-moz-pagebreak"),
|
||||
true);
|
||||
pseudo_element!(":-moz-page",
|
||||
atom!(":-moz-page"),
|
||||
true);
|
||||
pseudo_element!(":-moz-pagecontent",
|
||||
atom!(":-moz-pagecontent"),
|
||||
true);
|
||||
pseudo_element!(":-moz-page-sequence",
|
||||
atom!(":-moz-page-sequence"),
|
||||
true);
|
||||
pseudo_element!(":-moz-scrolled-content",
|
||||
atom!(":-moz-scrolled-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-scrolled-canvas",
|
||||
atom!(":-moz-scrolled-canvas"),
|
||||
true);
|
||||
pseudo_element!(":-moz-scrolled-page-sequence",
|
||||
atom!(":-moz-scrolled-page-sequence"),
|
||||
true);
|
||||
pseudo_element!(":-moz-column-content",
|
||||
atom!(":-moz-column-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-viewport",
|
||||
atom!(":-moz-viewport"),
|
||||
true);
|
||||
pseudo_element!(":-moz-viewport-scroll",
|
||||
atom!(":-moz-viewport-scroll"),
|
||||
true);
|
||||
pseudo_element!(":-moz-anonymous-flex-item",
|
||||
atom!(":-moz-anonymous-flex-item"),
|
||||
true);
|
||||
pseudo_element!(":-moz-anonymous-grid-item",
|
||||
atom!(":-moz-anonymous-grid-item"),
|
||||
true);
|
||||
pseudo_element!(":-moz-ruby",
|
||||
atom!(":-moz-ruby"),
|
||||
true);
|
||||
pseudo_element!(":-moz-ruby-base",
|
||||
atom!(":-moz-ruby-base"),
|
||||
true);
|
||||
pseudo_element!(":-moz-ruby-base-container",
|
||||
atom!(":-moz-ruby-base-container"),
|
||||
true);
|
||||
pseudo_element!(":-moz-ruby-text",
|
||||
atom!(":-moz-ruby-text"),
|
||||
true);
|
||||
pseudo_element!(":-moz-ruby-text-container",
|
||||
atom!(":-moz-ruby-text-container"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-column",
|
||||
atom!(":-moz-tree-column"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-row",
|
||||
atom!(":-moz-tree-row"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-separator",
|
||||
atom!(":-moz-tree-separator"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-cell",
|
||||
atom!(":-moz-tree-cell"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-indentation",
|
||||
atom!(":-moz-tree-indentation"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-line",
|
||||
atom!(":-moz-tree-line"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-twisty",
|
||||
atom!(":-moz-tree-twisty"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-image",
|
||||
atom!(":-moz-tree-image"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-cell-text",
|
||||
atom!(":-moz-tree-cell-text"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-checkbox",
|
||||
atom!(":-moz-tree-checkbox"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-progressmeter",
|
||||
atom!(":-moz-tree-progressmeter"),
|
||||
true);
|
||||
pseudo_element!(":-moz-tree-drop-feedback",
|
||||
atom!(":-moz-tree-drop-feedback"),
|
||||
true);
|
||||
pseudo_element!(":-moz-svg-marker-anon-child",
|
||||
atom!(":-moz-svg-marker-anon-child"),
|
||||
true);
|
||||
pseudo_element!(":-moz-svg-outer-svg-anon-child",
|
||||
atom!(":-moz-svg-outer-svg-anon-child"),
|
||||
true);
|
||||
pseudo_element!(":-moz-svg-foreign-content",
|
||||
atom!(":-moz-svg-foreign-content"),
|
||||
true);
|
||||
pseudo_element!(":-moz-svg-text",
|
||||
atom!(":-moz-svg-text"),
|
||||
true);
|
||||
}
|
|
@ -15,5 +15,5 @@ ${helpers.single_keyword("ime-mode", "normal auto active disabled inactive",
|
|||
|
||||
${helpers.single_keyword("-moz-user-select", "auto text none all", products="gecko",
|
||||
gecko_ffi_name="mUserSelect",
|
||||
gecko_constant_prefix="NS_STYLE_USER_SELECT",
|
||||
gecko_enum_prefix="StyleUserSelect",
|
||||
animatable=False)}
|
||||
|
|
|
@ -44,6 +44,7 @@ COMPILATION_TARGETS = {
|
|||
"test": True,
|
||||
"flags": [
|
||||
"-ignore-functions",
|
||||
"-ignore-methods",
|
||||
],
|
||||
"includes": [
|
||||
"{}/dist/include/nsThemeConstants.h",
|
||||
|
|
|
@ -181,6 +181,7 @@ pub const NS_ERROR_MODULE_DOM_BLUETOOTH: ::std::os::raw::c_uint = 37;
|
|||
pub const NS_ERROR_MODULE_SIGNED_APP: ::std::os::raw::c_uint = 38;
|
||||
pub const NS_ERROR_MODULE_DOM_ANIM: ::std::os::raw::c_uint = 39;
|
||||
pub const NS_ERROR_MODULE_DOM_PUSH: ::std::os::raw::c_uint = 40;
|
||||
pub const NS_ERROR_MODULE_DOM_MEDIA: ::std::os::raw::c_uint = 41;
|
||||
pub const NS_ERROR_MODULE_GENERAL: ::std::os::raw::c_uint = 51;
|
||||
pub const NS_ERROR_SEVERITY_SUCCESS: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_ERROR_SEVERITY_ERROR: ::std::os::raw::c_uint = 1;
|
||||
|
@ -188,6 +189,12 @@ pub const NS_ERROR_MODULE_BASE_OFFSET: ::std::os::raw::c_uint = 69;
|
|||
pub const MOZ_STRING_WITH_OBSOLETE_API: ::std::os::raw::c_uint = 1;
|
||||
pub const NSID_LENGTH: ::std::os::raw::c_uint = 39;
|
||||
pub const NS_NUMBER_OF_FLAGS_IN_REFCNT: ::std::os::raw::c_uint = 2;
|
||||
pub const _STL_PAIR_H: ::std::os::raw::c_uint = 1;
|
||||
pub const _GLIBCXX_UTILITY: ::std::os::raw::c_uint = 1;
|
||||
pub const __cpp_lib_tuple_element_t: ::std::os::raw::c_uint = 201402;
|
||||
pub const __cpp_lib_tuples_by_type: ::std::os::raw::c_uint = 201304;
|
||||
pub const __cpp_lib_exchange_function: ::std::os::raw::c_uint = 201304;
|
||||
pub const __cpp_lib_integer_sequence: ::std::os::raw::c_uint = 201304;
|
||||
pub const NS_EVENT_STATE_HIGHEST_SERVO_BIT: ::std::os::raw::c_uint = 6;
|
||||
pub const DOM_USER_DATA: ::std::os::raw::c_uint = 1;
|
||||
pub const SMIL_MAPPED_ATTR_ANIMVAL: ::std::os::raw::c_uint = 2;
|
||||
|
@ -206,17 +213,6 @@ pub const NS_CORNER_BOTTOM_RIGHT_X: ::std::os::raw::c_uint = 4;
|
|||
pub const NS_CORNER_BOTTOM_RIGHT_Y: ::std::os::raw::c_uint = 5;
|
||||
pub const NS_CORNER_BOTTOM_LEFT_X: ::std::os::raw::c_uint = 6;
|
||||
pub const NS_CORNER_BOTTOM_LEFT_Y: ::std::os::raw::c_uint = 7;
|
||||
pub const NS_STYLE_USER_SELECT_NONE: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_STYLE_USER_SELECT_TEXT: ::std::os::raw::c_uint = 1;
|
||||
pub const NS_STYLE_USER_SELECT_ELEMENT: ::std::os::raw::c_uint = 2;
|
||||
pub const NS_STYLE_USER_SELECT_ELEMENTS: ::std::os::raw::c_uint = 3;
|
||||
pub const NS_STYLE_USER_SELECT_ALL: ::std::os::raw::c_uint = 4;
|
||||
pub const NS_STYLE_USER_SELECT_TOGGLE: ::std::os::raw::c_uint = 5;
|
||||
pub const NS_STYLE_USER_SELECT_TRI_STATE: ::std::os::raw::c_uint = 6;
|
||||
pub const NS_STYLE_USER_SELECT_AUTO: ::std::os::raw::c_uint = 7;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_ALL: ::std::os::raw::c_uint = 8;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_NONE: ::std::os::raw::c_uint = 9;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_TEXT: ::std::os::raw::c_uint = 10;
|
||||
pub const NS_STYLE_USER_INPUT_NONE: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_STYLE_USER_INPUT_ENABLED: ::std::os::raw::c_uint = 1;
|
||||
pub const NS_STYLE_USER_INPUT_DISABLED: ::std::os::raw::c_uint = 2;
|
||||
|
@ -1237,6 +1233,7 @@ pub enum nsresult {
|
|||
NS_ERROR_DOM_UNKNOWN_ERR = -2142044130,
|
||||
NS_ERROR_DOM_DATA_ERR = -2142044129,
|
||||
NS_ERROR_DOM_OPERATION_ERR = -2142044128,
|
||||
NS_ERROR_DOM_NOT_ALLOWED_ERR = -2142044127,
|
||||
NS_ERROR_DOM_SECMAN_ERR = -2142043159,
|
||||
NS_ERROR_DOM_WRONG_TYPE_ERR = -2142043158,
|
||||
NS_ERROR_DOM_NOT_OBJECT_ERR = -2142043157,
|
||||
|
@ -1467,6 +1464,9 @@ pub enum nsresult {
|
|||
NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = -2140340220,
|
||||
NS_ERROR_DOM_PUSH_INVALID_KEY_ERR = -2140340219,
|
||||
NS_ERROR_DOM_PUSH_MISMATCHED_KEY_ERR = -2140340218,
|
||||
NS_ERROR_DOM_MEDIA_ABORT_ERR = -2140274687,
|
||||
NS_ERROR_DOM_MEDIA_NOT_ALLOWED_ERR = -2140274686,
|
||||
NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR = -2140274685,
|
||||
NS_ERROR_DOWNLOAD_COMPLETE = -2139619327,
|
||||
NS_ERROR_DOWNLOAD_NOT_PARTIAL = -2139619326,
|
||||
NS_ERROR_UNORM_MOREOUTPUT = -2139619295,
|
||||
|
@ -2797,6 +2797,12 @@ impl ::std::clone::Clone for nsIExpandedPrincipal {
|
|||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct _Make_integer_sequence<_Tp, _ISeq> {
|
||||
pub _phantom0: ::std::marker::PhantomData<_Tp>,
|
||||
pub _phantom1: ::std::marker::PhantomData<_ISeq>,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIURI {
|
||||
pub _base: nsISupports,
|
||||
|
@ -2848,7 +2854,7 @@ impl ::std::clone::Clone for nsIRequest {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct EventStates {
|
||||
pub mStates: ::std::os::raw::c_ulonglong,
|
||||
pub mStates: ::std::os::raw::c_ulong,
|
||||
}
|
||||
impl ::std::clone::Clone for EventStates {
|
||||
fn clone(&self) -> Self { *self }
|
||||
|
@ -2978,7 +2984,7 @@ fn bindgen_test_layout_nsMutationGuard() {
|
|||
extern "C" {
|
||||
#[link_name = "_ZN15nsMutationGuard11sGenerationE"]
|
||||
pub static mut nsMutationGuard_consts_sGeneration:
|
||||
::std::os::raw::c_ulonglong;
|
||||
::std::os::raw::c_ulong;
|
||||
}
|
||||
pub type Float = f32;
|
||||
#[repr(i8)]
|
||||
|
@ -4032,6 +4038,20 @@ pub enum StyleUserFocus {
|
|||
SelectSame = 6,
|
||||
SelectMenu = 7,
|
||||
}
|
||||
#[repr(i8)]
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
|
||||
pub enum StyleUserSelect {
|
||||
None_ = 0,
|
||||
Text = 1,
|
||||
Element = 2,
|
||||
Elements = 3,
|
||||
All = 4,
|
||||
Toggle = 5,
|
||||
TriState = 6,
|
||||
Auto = 7,
|
||||
MozAll = 8,
|
||||
MozText = 9,
|
||||
}
|
||||
pub const eCSSProperty_COUNT_DUMMY: nsCSSProperty =
|
||||
nsCSSProperty::eCSSProperty_z_index;
|
||||
pub const eCSSProperty_all: nsCSSProperty =
|
||||
|
@ -6572,7 +6592,7 @@ fn bindgen_test_layout_nsStyleContent() {
|
|||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsStyleUIReset {
|
||||
pub mUserSelect: u8,
|
||||
pub mUserSelect: StyleUserSelect,
|
||||
pub mForceBrokenImageIcon: u8,
|
||||
pub mIMEMode: u8,
|
||||
pub mWindowDragging: u8,
|
||||
|
|
|
@ -181,6 +181,7 @@ pub const NS_ERROR_MODULE_DOM_BLUETOOTH: ::std::os::raw::c_uint = 37;
|
|||
pub const NS_ERROR_MODULE_SIGNED_APP: ::std::os::raw::c_uint = 38;
|
||||
pub const NS_ERROR_MODULE_DOM_ANIM: ::std::os::raw::c_uint = 39;
|
||||
pub const NS_ERROR_MODULE_DOM_PUSH: ::std::os::raw::c_uint = 40;
|
||||
pub const NS_ERROR_MODULE_DOM_MEDIA: ::std::os::raw::c_uint = 41;
|
||||
pub const NS_ERROR_MODULE_GENERAL: ::std::os::raw::c_uint = 51;
|
||||
pub const NS_ERROR_SEVERITY_SUCCESS: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_ERROR_SEVERITY_ERROR: ::std::os::raw::c_uint = 1;
|
||||
|
@ -188,6 +189,12 @@ pub const NS_ERROR_MODULE_BASE_OFFSET: ::std::os::raw::c_uint = 69;
|
|||
pub const MOZ_STRING_WITH_OBSOLETE_API: ::std::os::raw::c_uint = 1;
|
||||
pub const NSID_LENGTH: ::std::os::raw::c_uint = 39;
|
||||
pub const NS_NUMBER_OF_FLAGS_IN_REFCNT: ::std::os::raw::c_uint = 2;
|
||||
pub const _STL_PAIR_H: ::std::os::raw::c_uint = 1;
|
||||
pub const _GLIBCXX_UTILITY: ::std::os::raw::c_uint = 1;
|
||||
pub const __cpp_lib_tuple_element_t: ::std::os::raw::c_uint = 201402;
|
||||
pub const __cpp_lib_tuples_by_type: ::std::os::raw::c_uint = 201304;
|
||||
pub const __cpp_lib_exchange_function: ::std::os::raw::c_uint = 201304;
|
||||
pub const __cpp_lib_integer_sequence: ::std::os::raw::c_uint = 201304;
|
||||
pub const NS_EVENT_STATE_HIGHEST_SERVO_BIT: ::std::os::raw::c_uint = 6;
|
||||
pub const DOM_USER_DATA: ::std::os::raw::c_uint = 1;
|
||||
pub const SMIL_MAPPED_ATTR_ANIMVAL: ::std::os::raw::c_uint = 2;
|
||||
|
@ -206,17 +213,6 @@ pub const NS_CORNER_BOTTOM_RIGHT_X: ::std::os::raw::c_uint = 4;
|
|||
pub const NS_CORNER_BOTTOM_RIGHT_Y: ::std::os::raw::c_uint = 5;
|
||||
pub const NS_CORNER_BOTTOM_LEFT_X: ::std::os::raw::c_uint = 6;
|
||||
pub const NS_CORNER_BOTTOM_LEFT_Y: ::std::os::raw::c_uint = 7;
|
||||
pub const NS_STYLE_USER_SELECT_NONE: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_STYLE_USER_SELECT_TEXT: ::std::os::raw::c_uint = 1;
|
||||
pub const NS_STYLE_USER_SELECT_ELEMENT: ::std::os::raw::c_uint = 2;
|
||||
pub const NS_STYLE_USER_SELECT_ELEMENTS: ::std::os::raw::c_uint = 3;
|
||||
pub const NS_STYLE_USER_SELECT_ALL: ::std::os::raw::c_uint = 4;
|
||||
pub const NS_STYLE_USER_SELECT_TOGGLE: ::std::os::raw::c_uint = 5;
|
||||
pub const NS_STYLE_USER_SELECT_TRI_STATE: ::std::os::raw::c_uint = 6;
|
||||
pub const NS_STYLE_USER_SELECT_AUTO: ::std::os::raw::c_uint = 7;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_ALL: ::std::os::raw::c_uint = 8;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_NONE: ::std::os::raw::c_uint = 9;
|
||||
pub const NS_STYLE_USER_SELECT_MOZ_TEXT: ::std::os::raw::c_uint = 10;
|
||||
pub const NS_STYLE_USER_INPUT_NONE: ::std::os::raw::c_uint = 0;
|
||||
pub const NS_STYLE_USER_INPUT_ENABLED: ::std::os::raw::c_uint = 1;
|
||||
pub const NS_STYLE_USER_INPUT_DISABLED: ::std::os::raw::c_uint = 2;
|
||||
|
@ -1237,6 +1233,7 @@ pub enum nsresult {
|
|||
NS_ERROR_DOM_UNKNOWN_ERR = -2142044130,
|
||||
NS_ERROR_DOM_DATA_ERR = -2142044129,
|
||||
NS_ERROR_DOM_OPERATION_ERR = -2142044128,
|
||||
NS_ERROR_DOM_NOT_ALLOWED_ERR = -2142044127,
|
||||
NS_ERROR_DOM_SECMAN_ERR = -2142043159,
|
||||
NS_ERROR_DOM_WRONG_TYPE_ERR = -2142043158,
|
||||
NS_ERROR_DOM_NOT_OBJECT_ERR = -2142043157,
|
||||
|
@ -1467,6 +1464,9 @@ pub enum nsresult {
|
|||
NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = -2140340220,
|
||||
NS_ERROR_DOM_PUSH_INVALID_KEY_ERR = -2140340219,
|
||||
NS_ERROR_DOM_PUSH_MISMATCHED_KEY_ERR = -2140340218,
|
||||
NS_ERROR_DOM_MEDIA_ABORT_ERR = -2140274687,
|
||||
NS_ERROR_DOM_MEDIA_NOT_ALLOWED_ERR = -2140274686,
|
||||
NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR = -2140274685,
|
||||
NS_ERROR_DOWNLOAD_COMPLETE = -2139619327,
|
||||
NS_ERROR_DOWNLOAD_NOT_PARTIAL = -2139619326,
|
||||
NS_ERROR_UNORM_MOREOUTPUT = -2139619295,
|
||||
|
@ -2776,6 +2776,12 @@ impl ::std::clone::Clone for nsIExpandedPrincipal {
|
|||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct _Make_integer_sequence<_Tp, _ISeq> {
|
||||
pub _phantom0: ::std::marker::PhantomData<_Tp>,
|
||||
pub _phantom1: ::std::marker::PhantomData<_ISeq>,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIURI {
|
||||
pub _base: nsISupports,
|
||||
|
@ -2827,7 +2833,7 @@ impl ::std::clone::Clone for nsIRequest {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct EventStates {
|
||||
pub mStates: ::std::os::raw::c_ulonglong,
|
||||
pub mStates: ::std::os::raw::c_ulong,
|
||||
}
|
||||
impl ::std::clone::Clone for EventStates {
|
||||
fn clone(&self) -> Self { *self }
|
||||
|
@ -2957,7 +2963,7 @@ fn bindgen_test_layout_nsMutationGuard() {
|
|||
extern "C" {
|
||||
#[link_name = "_ZN15nsMutationGuard11sGenerationE"]
|
||||
pub static mut nsMutationGuard_consts_sGeneration:
|
||||
::std::os::raw::c_ulonglong;
|
||||
::std::os::raw::c_ulong;
|
||||
}
|
||||
pub type Float = f32;
|
||||
#[repr(i8)]
|
||||
|
@ -4011,6 +4017,20 @@ pub enum StyleUserFocus {
|
|||
SelectSame = 6,
|
||||
SelectMenu = 7,
|
||||
}
|
||||
#[repr(i8)]
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
|
||||
pub enum StyleUserSelect {
|
||||
None_ = 0,
|
||||
Text = 1,
|
||||
Element = 2,
|
||||
Elements = 3,
|
||||
All = 4,
|
||||
Toggle = 5,
|
||||
TriState = 6,
|
||||
Auto = 7,
|
||||
MozAll = 8,
|
||||
MozText = 9,
|
||||
}
|
||||
pub const eCSSProperty_COUNT_DUMMY: nsCSSProperty =
|
||||
nsCSSProperty::eCSSProperty_z_index;
|
||||
pub const eCSSProperty_all: nsCSSProperty =
|
||||
|
@ -6549,7 +6569,7 @@ fn bindgen_test_layout_nsStyleContent() {
|
|||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsStyleUIReset {
|
||||
pub mUserSelect: u8,
|
||||
pub mUserSelect: StyleUserSelect,
|
||||
pub mForceBrokenImageIcon: u8,
|
||||
pub mIMEMode: u8,
|
||||
pub mWindowDragging: u8,
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue