| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef RuleSet_h | 22 #ifndef RuleSet_h |
| 23 #define RuleSet_h | 23 #define RuleSet_h |
| 24 | 24 |
| 25 #include "core/css/CSSKeyframesRule.h" | 25 #include "core/css/CSSKeyframesRule.h" |
| 26 #include "core/css/MediaQueryEvaluator.h" | 26 #include "core/css/MediaQueryEvaluator.h" |
| 27 #include "core/css/RuleFeature.h" | 27 #include "core/css/RuleFeature.h" |
| 28 #include "core/css/StyleRule.h" | 28 #include "core/css/StyleRule.h" |
| 29 #include "core/css/resolver/MediaQueryResult.h" | 29 #include "core/css/resolver/MediaQueryResult.h" |
| 30 #include "platform/heap/HeapLinkedStack.h" | |
| 31 #include "platform/heap/HeapTerminatedArray.h" | |
| 32 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
| 33 #include "wtf/HashMap.h" | 31 #include "wtf/HashMap.h" |
| 34 #include "wtf/LinkedStack.h" | 32 #include "wtf/LinkedStack.h" |
| 35 #include "wtf/TerminatedArray.h" | 33 #include "wtf/TerminatedArray.h" |
| 36 | 34 |
| 37 namespace blink { | 35 namespace blink { |
| 38 | 36 |
| 39 enum AddRuleFlags { | 37 enum AddRuleFlags { |
| 40 RuleHasNoSpecialState = 0, | 38 RuleHasNoSpecialState = 0, |
| 41 RuleCanUseFastCheckSelector = 1, | 39 RuleCanUseFastCheckSelector = 1, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 #ifndef NDEBUG | 171 #ifndef NDEBUG |
| 174 WillBeHeapVector<RuleData> m_allRules; | 172 WillBeHeapVector<RuleData> m_allRules; |
| 175 #endif | 173 #endif |
| 176 }; | 174 }; |
| 177 | 175 |
| 178 } // namespace blink | 176 } // namespace blink |
| 179 | 177 |
| 180 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::RuleData); | 178 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::RuleData); |
| 181 | 179 |
| 182 #endif // RuleSet_h | 180 #endif // RuleSet_h |
| OLD | NEW |