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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 DocumentOrderedList& styleSheetCandidateNodes() { return m_styleSheetCandida
teNodes; } | 61 DocumentOrderedList& styleSheetCandidateNodes() { return m_styleSheetCandida
teNodes; } |
62 DocumentOrderedList* scopingNodesForStyleScoped() { return m_scopingNodesFor
StyleScoped.scopingNodes(); } | 62 DocumentOrderedList* scopingNodesForStyleScoped() { return m_scopingNodesFor
StyleScoped.scopingNodes(); } |
63 ListHashSet<Node*, 4>* scopingNodesRemoved() { return m_scopingNodesForStyle
Scoped.scopingNodesRemoved(); } | 63 ListHashSet<Node*, 4>* scopingNodesRemoved() { return m_scopingNodesForStyle
Scoped.scopingNodesRemoved(); } |
64 | 64 |
65 void clearMediaQueryRuleSetStyleSheets(); | 65 void clearMediaQueryRuleSetStyleSheets(); |
66 | 66 |
67 protected: | 67 protected: |
68 explicit TreeScopeStyleSheetCollection(TreeScope&); | 68 explicit TreeScopeStyleSheetCollection(TreeScope&); |
69 | 69 |
70 // FIXME: Should return a reference. | 70 Document& document() const { return m_treeScope.document(); } |
71 Document* document() { return &m_treeScope.document(); } | |
72 | 71 |
73 enum StyleResolverUpdateType { | 72 enum StyleResolverUpdateType { |
74 Reconstruct, | 73 Reconstruct, |
75 Reset, | 74 Reset, |
76 Additive, | 75 Additive, |
77 ResetStyleResolverAndFontSelector | 76 ResetStyleResolverAndFontSelector |
78 }; | 77 }; |
79 | 78 |
80 struct StyleSheetChange { | 79 struct StyleSheetChange { |
81 StyleResolverUpdateType styleResolverUpdateType; | 80 StyleResolverUpdateType styleResolverUpdateType; |
(...skipping 18 matching lines...) Expand all Loading... |
100 bool m_usesRemUnits; | 99 bool m_usesRemUnits; |
101 | 100 |
102 DocumentOrderedList m_styleSheetCandidateNodes; | 101 DocumentOrderedList m_styleSheetCandidateNodes; |
103 StyleSheetScopingNodeList m_scopingNodesForStyleScoped; | 102 StyleSheetScopingNodeList m_scopingNodesForStyleScoped; |
104 }; | 103 }; |
105 | 104 |
106 } | 105 } |
107 | 106 |
108 #endif | 107 #endif |
109 | 108 |
OLD | NEW |