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 28 matching lines...) Expand all Loading... |
39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class Node; | 43 class Node; |
44 class StyleSheetContents; | 44 class StyleSheetContents; |
45 class StyleRuleFontFace; | 45 class StyleRuleFontFace; |
46 | 46 |
47 class CORE_EXPORT TreeScopeStyleSheetCollection : public StyleSheetCollection { | 47 class CORE_EXPORT TreeScopeStyleSheetCollection : public StyleSheetCollection { |
48 public: | 48 public: |
49 void addStyleSheetCandidateNode(Node*); | 49 void addStyleSheetCandidateNode(Node&); |
50 void removeStyleSheetCandidateNode(Node* node) { m_styleSheetCandidateNodes.
remove(node); } | 50 void removeStyleSheetCandidateNode(Node& node) { m_styleSheetCandidateNodes.
remove(&node); } |
51 bool hasStyleSheetCandidateNodes() const { return !m_styleSheetCandidateNode
s.isEmpty(); } | 51 bool hasStyleSheetCandidateNodes() const { return !m_styleSheetCandidateNode
s.isEmpty(); } |
52 | 52 |
53 void clearMediaQueryRuleSetStyleSheets(); | 53 void clearMediaQueryRuleSetStyleSheets(); |
54 | 54 |
55 virtual bool isShadowTreeStyleSheetCollection() const { return false; } | 55 virtual bool isShadowTreeStyleSheetCollection() const { return false; } |
56 | 56 |
57 DECLARE_VIRTUAL_TRACE(); | 57 DECLARE_VIRTUAL_TRACE(); |
58 | 58 |
59 protected: | 59 protected: |
60 explicit TreeScopeStyleSheetCollection(TreeScope&); | 60 explicit TreeScopeStyleSheetCollection(TreeScope&); |
(...skipping 30 matching lines...) Expand all Loading... |
91 protected: | 91 protected: |
92 Member<TreeScope> m_treeScope; | 92 Member<TreeScope> m_treeScope; |
93 bool m_hadActiveLoadingStylesheet; | 93 bool m_hadActiveLoadingStylesheet; |
94 | 94 |
95 DocumentOrderedList m_styleSheetCandidateNodes; | 95 DocumentOrderedList m_styleSheetCandidateNodes; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace blink | 98 } // namespace blink |
99 | 99 |
100 #endif | 100 #endif |
OLD | NEW |