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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } | 73 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } |
74 | 74 |
75 ~StyleEngine(); | 75 ~StyleEngine(); |
76 | 76 |
77 #if !ENABLE(OILPAN) | 77 #if !ENABLE(OILPAN) |
78 void detachFromDocument(); | 78 void detachFromDocument(); |
79 #endif | 79 #endif |
80 | 80 |
81 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet>>& styleSheetsForStyleS
heetList(TreeScope&); | 81 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet>>& styleSheetsForStyleS
heetList(TreeScope&); |
82 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>>& activeAuthorStyle
Sheets() const; | |
83 | 82 |
84 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>>& documentAuthorSty
leSheets() const { return m_authorStyleSheets; } | 83 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>>& documentAuthorSty
leSheets() const { return m_authorStyleSheets; } |
85 | 84 |
86 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>> activeStyleSheetsF
orInspector() const; | 85 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>> activeStyleSheetsF
orInspector() const; |
87 | 86 |
88 void modifiedStyleSheet(StyleSheet*); | 87 void modifiedStyleSheet(StyleSheet*); |
89 void addStyleSheetCandidateNode(Node*, bool createdByParser); | 88 void addStyleSheetCandidateNode(Node*, bool createdByParser); |
90 void removeStyleSheetCandidateNode(Node*); | 89 void removeStyleSheetCandidateNode(Node*); |
91 void removeStyleSheetCandidateNode(Node*, TreeScope&); | 90 void removeStyleSheetCandidateNode(Node*, TreeScope&); |
92 void modifiedStyleSheetCandidateNode(Node*); | 91 void modifiedStyleSheetCandidateNode(Node*); |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 254 |
256 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 255 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
257 | 256 |
258 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; | 257 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; |
259 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 258 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
260 }; | 259 }; |
261 | 260 |
262 } | 261 } |
263 | 262 |
264 #endif | 263 #endif |
OLD | NEW |