Line data Source code
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 style struct's member variables which can be visited-dependent */
8 :
9 : /* This file contains the list of all style structs and fields that can
10 : * be visited-dependent. Each entry is defined as a STYLE_STRUCT macro
11 : * with the following parameters:
12 : * - 'name_' the name of the style struct
13 : * - 'fields_' the list of member variables in the style struct that can
14 : * be visited-dependent
15 : *
16 : * Users of this list should define a macro STYLE_STRUCT(name_, fields_)
17 : * before including this file.
18 : *
19 : * Note that, currently, there is a restriction that all fields in a
20 : * style struct must have the same type.
21 : */
22 :
23 0 : STYLE_STRUCT(Color, (mColor))
24 1082 : STYLE_STRUCT(Background, (mBackgroundColor))
25 0 : STYLE_STRUCT(Border, (mBorderTopColor,
26 : mBorderRightColor,
27 : mBorderBottomColor,
28 : mBorderLeftColor))
29 0 : STYLE_STRUCT(Outline, (mOutlineColor))
30 0 : STYLE_STRUCT(Column, (mColumnRuleColor))
31 38 : STYLE_STRUCT(Text, (mTextEmphasisColor,
32 : mWebkitTextFillColor,
33 : mWebkitTextStrokeColor))
34 0 : STYLE_STRUCT(TextReset, (mTextDecorationColor))
35 0 : STYLE_STRUCT(SVG, (mFill, mStroke))
36 0 : STYLE_STRUCT(UserInterface, (mCaretColor))
|