aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/generated
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/gecko/generated')
-rw-r--r--components/style/gecko/generated/bindings.rs9
-rw-r--r--components/style/gecko/generated/structs_debug.rs12
-rw-r--r--components/style/gecko/generated/structs_release.rs12
3 files changed, 33 insertions, 0 deletions
diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs
index d068add2375..fdd7d7c7ac8 100644
--- a/components/style/gecko/generated/bindings.rs
+++ b/components/style/gecko/generated/bindings.rs
@@ -194,6 +194,7 @@ use gecko_bindings::structs::EffectCompositor_CascadeLevel;
use gecko_bindings::structs::UpdateAnimationsTasks;
use gecko_bindings::structs::LengthParsingMode;
use gecko_bindings::structs::InheritTarget;
+use gecko_bindings::structs::URLMatchingFunction;
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong<ServoCssRules>;
pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules;
@@ -1550,6 +1551,14 @@ extern "C" {
pub fn Gecko_UnregisterProfilerThread();
}
extern "C" {
+ pub fn Gecko_DocumentRule_UseForPresentation(arg1:
+ RawGeckoPresContextBorrowed,
+ aPattern: *const nsACString,
+ aURLMatchingFunction:
+ URLMatchingFunction)
+ -> bool;
+}
+extern "C" {
pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed);
}
extern "C" {
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs
index dc5734d3a21..7ac6548e1fd 100644
--- a/components/style/gecko/generated/structs_debug.rs
+++ b/components/style/gecko/generated/structs_debug.rs
@@ -2130,6 +2130,18 @@ pub mod root {
ComplexColorValue ) , "::" , stringify ! (
_mOwningThread ) ));
}
+ #[repr(i32)]
+ /**
+ * Enum defining the type of URL matching function for a @-moz-document rule
+ * condition.
+ */
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum URLMatchingFunction {
+ eURL = 0,
+ eURLPrefix = 1,
+ eDomain = 2,
+ eRegExp = 3,
+ }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DocumentRule {
diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs
index 035c42bbf8a..6abecf98e09 100644
--- a/components/style/gecko/generated/structs_release.rs
+++ b/components/style/gecko/generated/structs_release.rs
@@ -2036,6 +2036,18 @@ pub mod root {
ComplexColorValue ) , "::" , stringify ! ( mRefCnt
) ));
}
+ #[repr(i32)]
+ /**
+ * Enum defining the type of URL matching function for a @-moz-document rule
+ * condition.
+ */
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum URLMatchingFunction {
+ eURL = 0,
+ eURLPrefix = 1,
+ eDomain = 2,
+ eRegExp = 3,
+ }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DocumentRule {