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 types that can be allocated in an nsPresArena, for 8 preprocessing */ 9 10 #ifdef STYLE_STRUCT 11 #error Sorry nsPresArenaObjectList.h needs to use STYLE_STRUCT! 12 #endif 13 14 // These are objects that can be stored in the pres arena 15 16 PRES_ARENA_OBJECT(GeckoStyleContext) 17 18 PRES_ARENA_OBJECT(nsLineBox) 19 PRES_ARENA_OBJECT(nsRuleNode) 20 PRES_ARENA_OBJECT(DisplayItemData) 21 PRES_ARENA_OBJECT(nsInheritedStyleData) 22 PRES_ARENA_OBJECT(nsResetStyleData) 23 PRES_ARENA_OBJECT(nsConditionalResetStyleData) 24 PRES_ARENA_OBJECT(nsConditionalResetStyleDataEntry) 25 PRES_ARENA_OBJECT(nsFrameList) 26 PRES_ARENA_OBJECT(CustomCounterStyle) 27 PRES_ARENA_OBJECT(DependentBuiltinCounterStyle) 28 PRES_ARENA_OBJECT(nsCallbackEventRequest) 29 PRES_ARENA_OBJECT(nsIntervalSet_Interval) 30 PRES_ARENA_OBJECT(CellData) 31 PRES_ARENA_OBJECT(BCCellData) 32 33 #define STYLE_STRUCT(name_, checkdata_cb_) PRES_ARENA_OBJECT(nsStyle##name_) 34 #include "nsStyleStructList.h" 35 #undef STYLE_STRUCT 36