mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bug 1331213: Generate nsMediaFeatures and nsMediaList, along with a bunch of other stuff in nsCSSProps. r=xidorn
MozReview-Commit-ID: 8ANuHlp886J Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
4843fcad80
commit
7d2f43df58
1 changed files with 15 additions and 0 deletions
|
@ -234,6 +234,8 @@ mod bindings {
|
|||
.include(add_include("mozilla/ServoElementSnapshot.h"))
|
||||
.include(add_include("mozilla/dom/Element.h"))
|
||||
.include(add_include("mozilla/ServoBindings.h"))
|
||||
.include(add_include("nsMediaFeatures.h"))
|
||||
.include(add_include("nsMediaList.h"))
|
||||
// FIXME(emilio): Incrementally remove these "pub use"s. Probably
|
||||
// mozilla::css and mozilla::dom are easier.
|
||||
.raw_line("pub use self::root::*;")
|
||||
|
@ -295,6 +297,14 @@ mod bindings {
|
|||
"nsChangeHint",
|
||||
"nsCSSKeyword",
|
||||
"nsCSSPropertyID",
|
||||
"nsCSSProps",
|
||||
|
||||
// FIXME(emilio): These three can go away once
|
||||
// https://github.com/servo/rust-bindgen/pull/397 has landed.
|
||||
"nsStyleStructID",
|
||||
"nsStyleAnimType",
|
||||
"UseCounter",
|
||||
|
||||
"nsCSSRect",
|
||||
"nsCSSRect_heap",
|
||||
"nsCSSShadowArray",
|
||||
|
@ -315,6 +325,10 @@ mod bindings {
|
|||
"nsMainThreadPtrHandle",
|
||||
"nsMainThreadPtrHolder",
|
||||
"nsMargin",
|
||||
"nsMediaExpression",
|
||||
"nsMediaFeature",
|
||||
"nsMediaFeatures",
|
||||
"nsMediaList",
|
||||
"nsRect",
|
||||
"nsRestyleHint",
|
||||
"nsresult",
|
||||
|
@ -375,6 +389,7 @@ mod bindings {
|
|||
"mozilla::DefaultDelete",
|
||||
];
|
||||
let opaque_types = [
|
||||
"std::pair__PCCP",
|
||||
"std::namespace::atomic___base", "std::atomic__My_base",
|
||||
"nsAString_internal_char_traits",
|
||||
"nsAString_internal_incompatible_char_type",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue