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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 class CSSFontSelector; | 48 class CSSFontSelector; |
49 class CSSStyleSheet; | 49 class CSSStyleSheet; |
50 class Node; | 50 class Node; |
51 class RuleFeatureSet; | 51 class RuleFeatureSet; |
52 class ShadowTreeStyleSheetCollection; | 52 class ShadowTreeStyleSheetCollection; |
53 class StyleRuleFontFace; | 53 class StyleRuleFontFace; |
54 class StyleSheet; | 54 class StyleSheet; |
55 class StyleSheetContents; | 55 class StyleSheetContents; |
56 | 56 |
57 class CORE_EXPORT StyleEngine final : public CSSFontSelectorClient { | 57 class CORE_EXPORT StyleEngine final : public NoBaseWillBeGarbageCollectedFinaliz
ed<StyleEngine>, public CSSFontSelectorClient { |
58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(StyleEngine); | 58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(StyleEngine); |
| 59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StyleEngine); |
59 public: | 60 public: |
60 | 61 |
61 class IgnoringPendingStylesheet : public TemporaryChange<bool> { | 62 class IgnoringPendingStylesheet : public TemporaryChange<bool> { |
62 public: | 63 public: |
63 IgnoringPendingStylesheet(StyleEngine& engine) | 64 IgnoringPendingStylesheet(StyleEngine& engine) |
64 : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true) | 65 : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true) |
65 { | 66 { |
66 } | 67 } |
67 }; | 68 }; |
68 | 69 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 256 |
256 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
257 | 258 |
258 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; | 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; |
259 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
260 }; | 261 }; |
261 | 262 |
262 } | 263 } |
263 | 264 |
264 #endif | 265 #endif |
OLD | NEW |