| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } | 101 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } |
| 102 | 102 |
| 103 void combineCSSFeatureFlags(); | 103 void combineCSSFeatureFlags(); |
| 104 void resetCSSFeatureFlags(); | 104 void resetCSSFeatureFlags(); |
| 105 | 105 |
| 106 void reportMemoryUsage(MemoryObjectInfo*) const; | 106 void reportMemoryUsage(MemoryObjectInfo*) const; |
| 107 | 107 |
| 108 private: | 108 private: |
| 109 DocumentStyleSheetCollection(Document*); | 109 DocumentStyleSheetCollection(Document*); |
| 110 | 110 |
| 111 void collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >&); | 111 void collectStyleSheets(Vector<RefPtr<StyleSheet> >& styleSheets, Vector<Ref
Ptr<CSSStyleSheet> >& activeSheets); |
| 112 enum StyleResolverUpdateType { | 112 enum StyleResolverUpdateType { |
| 113 Reconstruct, | 113 Reconstruct, |
| 114 Reset, | 114 Reset, |
| 115 Additive | 115 Additive |
| 116 }; | 116 }; |
| 117 void analyzeStyleSheetChange(StyleResolverUpdateMode, const Vector<RefPtr<CS
SStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyl
eRecalc); | 117 void analyzeStyleSheetChange(StyleResolverUpdateMode, const Vector<RefPtr<CS
SStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyl
eRecalc); |
| 118 | 118 |
| 119 Document* m_document; | 119 Document* m_document; |
| 120 | 120 |
| 121 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; | 121 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; |
| (...skipping 28 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 |