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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RawPtrWillBeMember<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 String getCustomPropertyText(const PropertyValueForSerializer&, bool isNotFi
rstDecl) const; |
| 93 |
92 class StylePropertySetForSerializer final { | 94 class StylePropertySetForSerializer final { |
93 DISALLOW_NEW(); | 95 DISALLOW_NEW(); |
94 public: | 96 public: |
95 explicit StylePropertySetForSerializer(const StylePropertySet&); | 97 explicit StylePropertySetForSerializer(const StylePropertySet&); |
96 | 98 |
97 unsigned propertyCount() const; | 99 unsigned propertyCount() const; |
98 PropertyValueForSerializer propertyAt(unsigned index) const; | 100 PropertyValueForSerializer propertyAt(unsigned index) const; |
99 bool shouldProcessPropertyAt(unsigned index) const; | 101 bool shouldProcessPropertyAt(unsigned index) const; |
100 int findPropertyIndex(CSSPropertyID) const; | 102 int findPropertyIndex(CSSPropertyID) const; |
101 const CSSValue* getPropertyCSSValue(CSSPropertyID) const; | 103 const CSSValue* getPropertyCSSValue(CSSPropertyID) const; |
(...skipping 12 matching lines...) Expand all Loading... |
114 BitArray<numCSSProperties> m_longhandPropertyUsed; | 116 BitArray<numCSSProperties> m_longhandPropertyUsed; |
115 bool m_needToExpandAll; | 117 bool m_needToExpandAll; |
116 }; | 118 }; |
117 | 119 |
118 const StylePropertySetForSerializer m_propertySet; | 120 const StylePropertySetForSerializer m_propertySet; |
119 }; | 121 }; |
120 | 122 |
121 } // namespace blink | 123 } // namespace blink |
122 | 124 |
123 #endif // StylePropertySerializer_h | 125 #endif // StylePropertySerializer_h |
OLD | NEW |