| 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. |
| 4 * All rights reserved. |
| 4 * | 5 * |
| 5 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 9 * | 10 * |
| 10 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 33 | 34 |
| 34 namespace blink { | 35 namespace blink { |
| 35 | 36 |
| 36 class CSSStyleSheet; | 37 class CSSStyleSheet; |
| 37 class CSSRuleList; | 38 class CSSRuleList; |
| 38 class RuleData; | 39 class RuleData; |
| 39 class RuleSet; | 40 class RuleSet; |
| 40 class SelectorFilter; | 41 class SelectorFilter; |
| 41 class StaticCSSRuleList; | 42 class StaticCSSRuleList; |
| 42 | 43 |
| 43 // TODO(kochi): CascadeOrder is used only for Shadow DOM V0 bug-compatible casca
ding order. | 44 // TODO(kochi): CascadeOrder is used only for Shadow DOM V0 bug-compatible |
| 44 // Once Shadow DOM V0 implementation is gone, remove this completel
y. | 45 // cascading order. Once Shadow DOM V0 implementation is gone, remove this |
| 46 // completely. |
| 45 using CascadeOrder = unsigned; | 47 using CascadeOrder = unsigned; |
| 46 const CascadeOrder ignoreCascadeOrder = 0; | 48 const CascadeOrder ignoreCascadeOrder = 0; |
| 47 | 49 |
| 48 class MatchedRule { | 50 class MatchedRule { |
| 49 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 51 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 50 | 52 |
| 51 public: | 53 public: |
| 52 MatchedRule(const RuleData* ruleData, | 54 MatchedRule(const RuleData* ruleData, |
| 53 unsigned specificity, | 55 unsigned specificity, |
| 54 CascadeOrder cascadeOrder, | 56 CascadeOrder cascadeOrder, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 179 |
| 178 // Output. | 180 // Output. |
| 179 Member<StaticCSSRuleList> m_cssRuleList; | 181 Member<StaticCSSRuleList> m_cssRuleList; |
| 180 Member<StyleRuleList> m_styleRuleList; | 182 Member<StyleRuleList> m_styleRuleList; |
| 181 MatchResult m_result; | 183 MatchResult m_result; |
| 182 }; | 184 }; |
| 183 | 185 |
| 184 } // namespace blink | 186 } // namespace blink |
| 185 | 187 |
| 186 #endif // ElementRuleCollector_h | 188 #endif // ElementRuleCollector_h |
| OLD | NEW |