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 14 matching lines...) Expand all Loading... |
25 #include "core/css/CSSSelector.h" | 25 #include "core/css/CSSSelector.h" |
26 #include "core/css/invalidation/StyleInvalidator.h" | 26 #include "core/css/invalidation/StyleInvalidator.h" |
27 #include "wtf/Forward.h" | 27 #include "wtf/Forward.h" |
28 #include "wtf/HashSet.h" | 28 #include "wtf/HashSet.h" |
29 #include "wtf/text/AtomicStringHash.h" | 29 #include "wtf/text/AtomicStringHash.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 class CSSSelectorList; | 33 class CSSSelectorList; |
34 class DescendantInvalidationSet; | 34 class DescendantInvalidationSet; |
35 class Document; | |
36 class Node; | |
37 class QualifiedName; | 35 class QualifiedName; |
38 class RuleData; | 36 class RuleData; |
39 class ShadowRoot; | |
40 class SpaceSplitString; | 37 class SpaceSplitString; |
41 class StyleRule; | 38 class StyleRule; |
42 | 39 |
43 struct RuleFeature { | 40 struct RuleFeature { |
44 ALLOW_ONLY_INLINE_ALLOCATION(); | 41 ALLOW_ONLY_INLINE_ALLOCATION(); |
45 public: | 42 public: |
46 RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurit
yOrigin); | 43 RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurit
yOrigin); |
47 | 44 |
48 void trace(Visitor*); | 45 void trace(Visitor*); |
49 | 46 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 181 |
185 template <> struct VectorTraits<blink::RuleFeature> : VectorTraitsBase<blink::Ru
leFeature> { | 182 template <> struct VectorTraits<blink::RuleFeature> : VectorTraitsBase<blink::Ru
leFeature> { |
186 static const bool needsDestruction = false; | 183 static const bool needsDestruction = false; |
187 static const bool canInitializeWithMemset = true; | 184 static const bool canInitializeWithMemset = true; |
188 static const bool canMoveWithMemcpy = true; | 185 static const bool canMoveWithMemcpy = true; |
189 }; | 186 }; |
190 | 187 |
191 } // namespace WTF | 188 } // namespace WTF |
192 | 189 |
193 #endif // RuleFeature_h | 190 #endif // RuleFeature_h |
OLD | NEW |