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

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

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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
« no previous file with comments | « Source/core/css/PageRuleCollector.h ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
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 RuleFeature_h 22 #ifndef RuleFeature_h
23 #define RuleFeature_h 23 #define RuleFeature_h
24 24
25 #include <wtf/Forward.h> 25 #include "wtf/Forward.h"
26 #include <wtf/HashMap.h> 26 #include "wtf/HashSet.h"
27 #include <wtf/HashSet.h> 27 #include "wtf/text/AtomicString.h"
28 #include <wtf/text/AtomicString.h>
29 28
30 namespace WebCore { 29 namespace WebCore {
31 30
32 class StyleRule; 31 class StyleRule;
33 class CSSSelector; 32 class CSSSelector;
34 33
35 struct RuleFeature { 34 struct RuleFeature {
36 RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurit yOrigin) 35 RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurit yOrigin)
37 : rule(rule) 36 : rule(rule)
38 , selectorIndex(selectorIndex) 37 , selectorIndex(selectorIndex)
(...skipping 23 matching lines...) Expand all
62 HashSet<AtomicStringImpl*> attrsInRules; 61 HashSet<AtomicStringImpl*> attrsInRules;
63 Vector<RuleFeature> siblingRules; 62 Vector<RuleFeature> siblingRules;
64 Vector<RuleFeature> uncommonAttributeRules; 63 Vector<RuleFeature> uncommonAttributeRules;
65 bool usesFirstLineRules; 64 bool usesFirstLineRules;
66 bool usesBeforeAfterRules; 65 bool usesBeforeAfterRules;
67 }; 66 };
68 67
69 } // namespace WebCore 68 } // namespace WebCore
70 69
71 #endif // RuleFeature_h 70 #endif // RuleFeature_h
OLDNEW
« no previous file with comments | « Source/core/css/PageRuleCollector.h ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698