Bug 1698238 return default dictionary from GetUserMediaRequest#getConstraints() if...
[gecko.git] / layout / style / ServoArcTypeList.h
blob1ae3a958d0b97454a76a4239644ec6375e3a51c6
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* a list of all Servo Arc<T> types used across bindings, for preprocessing */
9 // The first argument is the name of the Servo type used inside the Arc.
10 // This doesn't need to be accurate; it's only used to generate nice looking
11 // FFI function names.
13 // The second argument is the name of an opaque Gecko type that will
14 // correspond to the Servo type used inside the Arc. The convention for the
15 // the name of the opaque Gecko type is "RawServo{Type}", where {Type} is
16 // the name of the Servo type or something close to it.
18 // See the comment at the top of ServoBindingTypes.h for how to use these.
20 // If you add an entry to this file, you should also add an impl_arc_ffi!()
21 // call to servo/components/style/gecko/arc_types.rs.
23 // clang-format off
24 // Needs to be a on single line
25 SERVO_ARC_TYPE(CssRules, ServoCssRules)
26 SERVO_ARC_TYPE(StyleSheetContents, RawServoStyleSheetContents)
27 SERVO_ARC_TYPE(DeclarationBlock, RawServoDeclarationBlock)
28 SERVO_ARC_TYPE(StyleRule, RawServoStyleRule)
29 SERVO_ARC_TYPE(ImportRule, RawServoImportRule)
30 SERVO_ARC_TYPE(AnimationValue, RawServoAnimationValue)
31 SERVO_ARC_TYPE(Keyframe, RawServoKeyframe)
32 SERVO_ARC_TYPE(KeyframesRule, RawServoKeyframesRule)
33 SERVO_ARC_TYPE(MediaList, RawServoMediaList)
34 SERVO_ARC_TYPE(MediaRule, RawServoMediaRule)
35 SERVO_ARC_TYPE(NamespaceRule, RawServoNamespaceRule)
36 SERVO_ARC_TYPE(PageRule, RawServoPageRule)
37 SERVO_ARC_TYPE(SupportsRule, RawServoSupportsRule)
38 SERVO_ARC_TYPE(DocumentRule, RawServoMozDocumentRule)
39 SERVO_ARC_TYPE(FontFeatureValuesRule, RawServoFontFeatureValuesRule)
40 SERVO_ARC_TYPE(FontFaceRule, RawServoFontFaceRule)
41 SERVO_ARC_TYPE(CounterStyleRule, RawServoCounterStyleRule)
42 SERVO_ARC_TYPE(CssUrlData, RawServoCssUrlData)
43 SERVO_ARC_TYPE(Quotes, RawServoQuotes)
45 // clang-format on