OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } | 100 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } |
101 | 101 |
102 void combineCSSFeatureFlags(); | 102 void combineCSSFeatureFlags(); |
103 void resetCSSFeatureFlags(); | 103 void resetCSSFeatureFlags(); |
104 | 104 |
105 void reportMemoryUsage(MemoryObjectInfo*) const; | 105 void reportMemoryUsage(MemoryObjectInfo*) const; |
106 | 106 |
107 private: | 107 private: |
108 DocumentStyleSheetCollection(Document*); | 108 DocumentStyleSheetCollection(Document*); |
109 | 109 |
110 void collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >&); | 110 void collectStyleSheets(Vector<RefPtr<StyleSheet> >& styleSheets, Vector<Ref
Ptr<CSSStyleSheet> >& activeSheets); |
111 enum StyleResolverUpdateType { | 111 enum StyleResolverUpdateType { |
112 Reconstruct, | 112 Reconstruct, |
113 Reset, | 113 Reset, |
114 Additive | 114 Additive |
115 }; | 115 }; |
116 void analyzeStyleSheetChange(StyleResolverUpdateMode, const Vector<RefPtr<CS
SStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyl
eRecalc); | 116 void analyzeStyleSheetChange(StyleResolverUpdateMode, const Vector<RefPtr<CS
SStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyl
eRecalc); |
117 | 117 |
118 Document* m_document; | 118 Document* m_document; |
119 | 119 |
120 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; | 120 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; |
(...skipping 29 matching lines...) Expand all Loading... |
150 bool m_usesFirstLetterRules; | 150 bool m_usesFirstLetterRules; |
151 bool m_usesBeforeAfterRules; | 151 bool m_usesBeforeAfterRules; |
152 bool m_usesBeforeAfterRulesOverride; | 152 bool m_usesBeforeAfterRulesOverride; |
153 bool m_usesRemUnits; | 153 bool m_usesRemUnits; |
154 }; | 154 }; |
155 | 155 |
156 } | 156 } |
157 | 157 |
158 #endif | 158 #endif |
159 | 159 |
OLD | NEW |