Bug 1879449 [wpt PR 44489] - [wptrunner] Add `infrastructure/expected-fail/` test...
[gecko.git] / layout / style / ServoBoxedTypeList.h
blobc4a206f891ab21870cde13c96f5e1901eb48d254
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 Box<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 Box. 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 implementation of
21 // HasBoxFFI in Rust.
23 // TODO(emilio): We should remove the opaque type now, cbindgen should be able
24 // to just generate the forward declaration.
26 SERVO_BOXED_TYPE(StyleSet, PerDocumentStyleData)
27 SERVO_BOXED_TYPE(AnimationValueMap, AnimationValueMap)
28 SERVO_BOXED_TYPE(AuthorStyles, AuthorStyles)
29 SERVO_BOXED_TYPE(SelectorList, SelectorList)
30 SERVO_BOXED_TYPE(SharedMemoryBuilder, SharedMemoryBuilder)
31 SERVO_BOXED_TYPE(SourceSizeList, SourceSizeList)
32 SERVO_BOXED_TYPE(UseCounters, UseCounters)