| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 friend class IgnoringPendingStylesheet; | 66 friend class IgnoringPendingStylesheet; |
| 67 | 67 |
| 68 static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(
new StyleEngine(document)); } | 68 static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(
new StyleEngine(document)); } |
| 69 | 69 |
| 70 ~StyleEngine(); | 70 ~StyleEngine(); |
| 71 | 71 |
| 72 #if !ENABLE(OILPAN) | 72 #if !ENABLE(OILPAN) |
| 73 void detachFromDocument(); | 73 void detachFromDocument(); |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 const Vector<RefPtr<CSSStyleSheet> >& styleSheetsForStyleSheetList(TreeScope
&); | 76 const Vector<RefPtr<CSSStyleSheet>>& activeAuthorStyleSheetsFor(TreeScope&); |
| 77 | |
| 78 const Vector<RefPtr<CSSStyleSheet> >& documentAuthorStyleSheets() const { re
turn m_authorStyleSheets; } | 77 const Vector<RefPtr<CSSStyleSheet> >& documentAuthorStyleSheets() const { re
turn m_authorStyleSheets; } |
| 79 | 78 |
| 80 void modifiedStyleSheet(CSSStyleSheet*); | 79 void modifiedStyleSheet(CSSStyleSheet*); |
| 81 void addStyleSheetCandidateNode(Node*, bool createdByParser); | 80 void addStyleSheetCandidateNode(Node*, bool createdByParser); |
| 82 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc
ope&); | 81 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc
ope&); |
| 83 | 82 |
| 84 void clearMediaQueryRuleSetStyleSheets(); | 83 void clearMediaQueryRuleSetStyleSheets(); |
| 85 void updateActiveStyleSheets(); | 84 void updateActiveStyleSheets(); |
| 86 | 85 |
| 87 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets;
} | 86 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets;
} |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 188 |
| 190 RefPtr<CSSFontSelector> m_fontSelector; | 189 RefPtr<CSSFontSelector> m_fontSelector; |
| 191 | 190 |
| 192 HashMap<AtomicString, RawPtr<StyleSheetContents> > m_textToSheetCache; | 191 HashMap<AtomicString, RawPtr<StyleSheetContents> > m_textToSheetCache; |
| 193 HashMap<RawPtr<StyleSheetContents>, AtomicString> m_sheetToTextCache; | 192 HashMap<RawPtr<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 } | 195 } |
| 197 | 196 |
| 198 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ | 197 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ |
| OLD | NEW |