| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 { | 83 { |
| 84 } | 84 } |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 friend class IgnoringPendingStylesheet; | 87 friend class IgnoringPendingStylesheet; |
| 88 | 88 |
| 89 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } | 89 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } |
| 90 | 90 |
| 91 ~StyleEngine(); | 91 ~StyleEngine(); |
| 92 | 92 |
| 93 #if !ENABLE(OILPAN) |
| 93 void detachFromDocument(); | 94 void detachFromDocument(); |
| 95 #endif |
| 94 | 96 |
| 95 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyle
SheetList(TreeScope&); | 97 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyle
SheetList(TreeScope&); |
| 96 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyl
eSheets() const; | 98 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyl
eSheets() const; |
| 97 | 99 |
| 98 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& documentAuthorSt
yleSheets() const { return m_authorStyleSheets; } | 100 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& documentAuthorSt
yleSheets() const { return m_authorStyleSheets; } |
| 99 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& injectedAuthorSt
yleSheets() const; | 101 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& injectedAuthorSt
yleSheets() const; |
| 100 | 102 |
| 101 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > activeStyleSheetsFor
Inspector() const; | 103 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > activeStyleSheetsFor
Inspector() const; |
| 102 | 104 |
| 103 void modifiedStyleSheet(StyleSheet*); | 105 void modifiedStyleSheet(StyleSheet*); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 250 |
| 249 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 251 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
| 250 | 252 |
| 251 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; | 253 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; |
| 252 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 254 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
| 253 }; | 255 }; |
| 254 | 256 |
| 255 } | 257 } |
| 256 | 258 |
| 257 #endif | 259 #endif |
| OLD | NEW |