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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 void didDetach(); | 161 void didDetach(); |
162 bool shouldClearResolver() const; | 162 bool shouldClearResolver() const; |
163 void resolverChanged(StyleResolverUpdateMode); | 163 void resolverChanged(StyleResolverUpdateMode); |
164 unsigned resolverAccessCount() const; | 164 unsigned resolverAccessCount() const; |
165 | 165 |
166 void markDocumentDirty(); | 166 void markDocumentDirty(); |
167 | 167 |
168 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te
xt, TextPosition startPosition, bool createdByParser); | 168 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te
xt, TextPosition startPosition, bool createdByParser); |
169 void removeSheet(StyleSheetContents*); | 169 void removeSheet(StyleSheetContents*); |
170 | 170 |
171 bool onlyDocumentHasStyles() const { return m_activeTreeScopes.isEmpty(); } | |
172 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; | 171 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; |
173 | 172 |
174 void platformColorsChanged(); | 173 void platformColorsChanged(); |
175 | 174 |
176 virtual void trace(Visitor*) override; | 175 virtual void trace(Visitor*) override; |
177 | 176 |
178 private: | 177 private: |
179 // CSSFontSelectorClient implementation. | 178 // CSSFontSelectorClient implementation. |
180 virtual void fontsNeedUpdate(CSSFontSelector*) override; | 179 virtual void fontsNeedUpdate(CSSFontSelector*) override; |
181 | 180 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 292 |
294 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 293 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
295 | 294 |
296 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; | 295 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; |
297 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 296 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
298 }; | 297 }; |
299 | 298 |
300 } | 299 } |
301 | 300 |
302 #endif | 301 #endif |
OLD | NEW |