| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); | 192 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); |
| 193 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const
; | 193 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const
; |
| 194 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con
st; | 194 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con
st; |
| 195 | 195 |
| 196 void markTreeScopeDirty(TreeScope&); | 196 void markTreeScopeDirty(TreeScope&); |
| 197 | 197 |
| 198 bool isMaster() const { return m_isMaster; } | 198 bool isMaster() const { return m_isMaster; } |
| 199 Document* master(); | 199 Document* master(); |
| 200 Document& document() const { return *m_document; } | 200 Document& document() const { return *m_document; } |
| 201 | 201 |
| 202 void scheduleInvalidationSetsForElement(const InvalidationSetVector&, Elemen
t&); | |
| 203 | |
| 204 typedef WillBeHeapHashSet<RawPtrWillBeMember<TreeScope>> UnorderedTreeScopeS
et; | 202 typedef WillBeHeapHashSet<RawPtrWillBeMember<TreeScope>> UnorderedTreeScopeS
et; |
| 205 | 203 |
| 206 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(UnorderedTreeScopeSet&); | 204 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(UnorderedTreeScopeSet&); |
| 207 | 205 |
| 208 void createResolver(); | 206 void createResolver(); |
| 209 | 207 |
| 210 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri
ng& text, TextPosition startPosition); | 208 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri
ng& text, TextPosition startPosition); |
| 211 | 209 |
| 212 const DocumentStyleSheetCollection* documentStyleSheetCollection() const | 210 const DocumentStyleSheetCollection* documentStyleSheetCollection() const |
| 213 { | 211 { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 255 |
| 258 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 256 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
| 259 | 257 |
| 260 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; | 258 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; |
| 261 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 259 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
| 262 }; | 260 }; |
| 263 | 261 |
| 264 } | 262 } |
| 265 | 263 |
| 266 #endif | 264 #endif |
| OLD | NEW |