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, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
5 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 , m_isInherited(value->isInheritedValue()) { } | 75 , m_isInherited(value->isInheritedValue()) { } |
76 | 76 |
77 CSSPropertyID id() const { return m_id; } | 77 CSSPropertyID id() const { return m_id; } |
78 const CSSValue* value() const { return m_value; } | 78 const CSSValue* value() const { return m_value; } |
79 bool isImportant() const { return m_isImportant; } | 79 bool isImportant() const { return m_isImportant; } |
80 bool isImplicit() const { return m_isImplicit; } | 80 bool isImplicit() const { return m_isImplicit; } |
81 bool isInherited() const { return m_isInherited; } | 81 bool isInherited() const { return m_isInherited; } |
82 bool isValid() const { return m_value; } | 82 bool isValid() const { return m_value; } |
83 | 83 |
84 private: | 84 private: |
85 RawPtrWillBeMember<const CSSValue> m_value; | 85 RawPtr<const CSSValue> m_value; |
86 CSSPropertyID m_id; | 86 CSSPropertyID m_id; |
87 bool m_isImportant; | 87 bool m_isImportant; |
88 bool m_isImplicit; | 88 bool m_isImplicit; |
89 bool m_isInherited; | 89 bool m_isInherited; |
90 }; | 90 }; |
91 | 91 |
92 class StylePropertySetForSerializer final { | 92 class StylePropertySetForSerializer final { |
93 DISALLOW_ALLOCATION(); | 93 DISALLOW_ALLOCATION(); |
94 public: | 94 public: |
95 explicit StylePropertySetForSerializer(const StylePropertySet&); | 95 explicit StylePropertySetForSerializer(const StylePropertySet&); |
(...skipping 18 matching lines...) Expand all Loading... |
114 BitArray<numCSSProperties> m_longhandPropertyUsed; | 114 BitArray<numCSSProperties> m_longhandPropertyUsed; |
115 bool m_needToExpandAll; | 115 bool m_needToExpandAll; |
116 }; | 116 }; |
117 | 117 |
118 const StylePropertySetForSerializer m_propertySet; | 118 const StylePropertySetForSerializer m_propertySet; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace blink | 121 } // namespace blink |
122 | 122 |
123 #endif // StylePropertySerializer_h | 123 #endif // StylePropertySerializer_h |
OLD | NEW |