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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void resetCSSFeatureFlags(const RuleFeatureSet&); | 107 void resetCSSFeatureFlags(const RuleFeatureSet&); |
108 | 108 |
109 void didModifySeamlessParentStyleSheet() { m_needsDocumentStyleSheetsUpdate
= true; } | 109 void didModifySeamlessParentStyleSheet() { m_needsDocumentStyleSheetsUpdate
= true; } |
110 void didRemoveShadowRoot(ShadowRoot*); | 110 void didRemoveShadowRoot(ShadowRoot*); |
111 void appendActiveAuthorStyleSheets(StyleResolver*); | 111 void appendActiveAuthorStyleSheets(StyleResolver*); |
112 void getActiveAuthorStyleSheets(Vector<const Vector<RefPtr<CSSStyleSheet> >*
>& activeAuthorStyleSheets) const; | 112 void getActiveAuthorStyleSheets(Vector<const Vector<RefPtr<CSSStyleSheet> >*
>& activeAuthorStyleSheets) const; |
113 | 113 |
114 private: | 114 private: |
115 StyleSheetCollections(Document&); | 115 StyleSheetCollections(Document&); |
116 | 116 |
117 StyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); | 117 StyleSheetCollection* ensureStyleSheetCollectionFor(NonNullPtr<TreeScope>); |
118 StyleSheetCollection* styleSheetCollectionFor(TreeScope&); | 118 StyleSheetCollection* styleSheetCollectionFor(NonNullPtr<TreeScope>); |
119 void activeStyleSheetsUpdatedForInspector(); | 119 void activeStyleSheetsUpdatedForInspector(); |
120 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode); | 120 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode); |
121 | 121 |
122 typedef ListHashSet<TreeScope*, 16> TreeScopeSet; | 122 typedef ListHashSet<TreeScope*, 16> TreeScopeSet; |
123 static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*); | 123 static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*); |
124 | 124 |
125 Document& m_document; | 125 Document& m_document; |
126 | 126 |
127 // Track the number of currently loading top-level stylesheets needed for re
ndering. | 127 // Track the number of currently loading top-level stylesheets needed for re
ndering. |
128 // Sheets loaded using the @import directive are not included in this count. | 128 // Sheets loaded using the @import directive are not included in this count. |
(...skipping 25 matching lines...) Expand all Loading... |
154 bool m_usesSiblingRules; | 154 bool m_usesSiblingRules; |
155 bool m_usesSiblingRulesOverride; | 155 bool m_usesSiblingRulesOverride; |
156 bool m_usesFirstLineRules; | 156 bool m_usesFirstLineRules; |
157 bool m_usesFirstLetterRules; | 157 bool m_usesFirstLetterRules; |
158 bool m_usesRemUnits; | 158 bool m_usesRemUnits; |
159 }; | 159 }; |
160 | 160 |
161 } | 161 } |
162 | 162 |
163 #endif | 163 #endif |
OLD | NEW |