| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() { return m_activeA
uthorStyleSheets; } | 62 Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() { return m_activeA
uthorStyleSheets; } |
| 63 Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() { return m_style
SheetsForStyleSheetList; } | 63 Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() { return m_style
SheetsForStyleSheetList; } |
| 64 const Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() const { retu
rn m_activeAuthorStyleSheets; } | 64 const Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() const { retu
rn m_activeAuthorStyleSheets; } |
| 65 const Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() const { re
turn m_styleSheetsForStyleSheetList; } | 65 const Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() const { re
turn m_styleSheetsForStyleSheetList; } |
| 66 | 66 |
| 67 void swap(StyleSheetCollectionBase&); | 67 void swap(StyleSheetCollectionBase&); |
| 68 void appendActiveStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); | 68 void appendActiveStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); |
| 69 void appendActiveStyleSheet(CSSStyleSheet*); | 69 void appendActiveStyleSheet(CSSStyleSheet*); |
| 70 void appendSheetForList(StyleSheet*); | 70 void appendSheetForList(StyleSheet*); |
| 71 void setSheetsForSheetList(const Vector<RefPtr<StyleSheet> >&); |
| 71 | 72 |
| 72 protected: | 73 protected: |
| 73 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; | 74 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; |
| 74 Vector<RefPtr<CSSStyleSheet> > m_activeAuthorStyleSheets; | 75 Vector<RefPtr<CSSStyleSheet> > m_activeAuthorStyleSheets; |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 | 78 |
| 78 class StyleSheetCollection : public StyleSheetCollectionBase { | 79 class StyleSheetCollection : public StyleSheetCollectionBase { |
| 79 public: | 80 public: |
| 80 void addStyleSheetCandidateNode(Node*, bool createdByParser); | 81 void addStyleSheetCandidateNode(Node*, bool createdByParser); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 bool m_usesRemUnits; | 127 bool m_usesRemUnits; |
| 127 | 128 |
| 128 DocumentOrderedList m_styleSheetCandidateNodes; | 129 DocumentOrderedList m_styleSheetCandidateNodes; |
| 129 StyleSheetScopingNodeList m_scopingNodesForStyleScoped; | 130 StyleSheetScopingNodeList m_scopingNodesForStyleScoped; |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 } | 133 } |
| 133 | 134 |
| 134 #endif | 135 #endif |
| 135 | 136 |
| OLD | NEW |