OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 21 matching lines...) Loading... |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class CSSStyleSheet; | 35 class CSSStyleSheet; |
36 class CSSRuleList; | 36 class CSSRuleList; |
37 class RuleData; | 37 class RuleData; |
38 class RuleSet; | 38 class RuleSet; |
39 class SelectorFilter; | 39 class SelectorFilter; |
40 class StaticCSSRuleList; | 40 class StaticCSSRuleList; |
41 | 41 |
| 42 // FIXME: Remove CascadeScope, it doesn't do anything now. |
42 typedef unsigned CascadeScope; | 43 typedef unsigned CascadeScope; |
43 typedef unsigned CascadeOrder; | 44 typedef unsigned CascadeOrder; |
44 | 45 |
45 const CascadeScope ignoreCascadeScope = 0; | 46 const CascadeScope ignoreCascadeScope = 0; |
46 const CascadeOrder ignoreCascadeOrder = 0; | 47 const CascadeOrder ignoreCascadeOrder = 0; |
47 | 48 |
48 class MatchedRule { | 49 class MatchedRule { |
49 ALLOW_ONLY_INLINE_ALLOCATION(); | 50 ALLOW_ONLY_INLINE_ALLOCATION(); |
50 public: | 51 public: |
51 MatchedRule(const RuleData* ruleData, unsigned specificity, CascadeScope cas
cadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex, const CSSStyleSh
eet* parentStyleSheet) | 52 MatchedRule(const RuleData* ruleData, unsigned specificity, CascadeScope cas
cadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex, const CSSStyleSh
eet* parentStyleSheet) |
(...skipping 119 matching lines...) Loading... |
171 | 172 |
172 // Output. | 173 // Output. |
173 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; | 174 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; |
174 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; | 175 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; |
175 MatchResult m_result; | 176 MatchResult m_result; |
176 }; | 177 }; |
177 | 178 |
178 } // namespace blink | 179 } // namespace blink |
179 | 180 |
180 #endif // ElementRuleCollector_h | 181 #endif // ElementRuleCollector_h |
OLD | NEW |