ServoLockedArcTypeList.h (1171B)
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/. */ 6 7 /* a list of all Servo Arc<Locked<T>> types used across bindings */ 8 9 // The argument is the name of the Servo type used inside the Arc. 10 // 11 // If you add an entry to this file, you should also add an 12 // impl_locked_arc_ffi!() call to servo/components/style/gecko/arc_types.rs, and 13 // maybe also a corresponding mapping between the types in 14 // layout/style/ServoBindings.toml. 15 16 SERVO_LOCKED_ARC_TYPE(CssRules) 17 SERVO_LOCKED_ARC_TYPE(DeclarationBlock) 18 SERVO_LOCKED_ARC_TYPE(StyleRule) 19 SERVO_LOCKED_ARC_TYPE(ImportRule) 20 SERVO_LOCKED_ARC_TYPE(Keyframe) 21 SERVO_LOCKED_ARC_TYPE(KeyframesRule) 22 SERVO_LOCKED_ARC_TYPE(MarginList) 23 SERVO_LOCKED_ARC_TYPE(MediaList) 24 SERVO_LOCKED_ARC_TYPE(PageRule) 25 SERVO_LOCKED_ARC_TYPE(FontFaceRule) 26 SERVO_LOCKED_ARC_TYPE(CounterStyleRule) 27 SERVO_LOCKED_ARC_TYPE(PositionTryRule) 28 SERVO_LOCKED_ARC_TYPE(NestedDeclarationsRule)