Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: Source/core/css/RuleFeature.h

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/css/PropertySetCSSStyleDeclaration.h ('k') | Source/core/css/StylePropertySerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698