OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 , m_listStyle ? m_listStyle->cloneForCSSOM() : nullptr | 58 , m_listStyle ? m_listStyle->cloneForCSSOM() : nullptr |
59 , m_separator ? m_separator->cloneForCSSOM() : nullptr); | 59 , m_separator ? m_separator->cloneForCSSOM() : nullptr); |
60 } | 60 } |
61 | 61 |
62 void trace(Visitor*); | 62 void trace(Visitor*); |
63 | 63 |
64 private: | 64 private: |
65 Counter(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> identifier, PassRefPtrWill
BeRawPtr<CSSPrimitiveValue> listStyle, PassRefPtrWillBeRawPtr<CSSPrimitiveValue>
separator) | 65 Counter(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> identifier, PassRefPtrWill
BeRawPtr<CSSPrimitiveValue> listStyle, PassRefPtrWillBeRawPtr<CSSPrimitiveValue>
separator) |
66 : m_identifier(identifier) | 66 : m_identifier(identifier) |
67 , m_listStyle(listStyle) | 67 , m_listStyle(listStyle) |
68 , m_separator(separator) | 68 , m_separator(separator) { } |
69 { | |
70 ScriptWrappable::init(this); | |
71 } | |
72 | 69 |
73 RefPtrWillBeMember<CSSPrimitiveValue> m_identifier; // string | 70 RefPtrWillBeMember<CSSPrimitiveValue> m_identifier; // string |
74 RefPtrWillBeMember<CSSPrimitiveValue> m_listStyle; // ident | 71 RefPtrWillBeMember<CSSPrimitiveValue> m_listStyle; // ident |
75 RefPtrWillBeMember<CSSPrimitiveValue> m_separator; // string | 72 RefPtrWillBeMember<CSSPrimitiveValue> m_separator; // string |
76 }; | 73 }; |
77 | 74 |
78 } // namespace blink | 75 } // namespace blink |
79 | 76 |
80 #endif // Counter_h | 77 #endif // Counter_h |
OLD | NEW |