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

Side by Side Diff: Source/core/dom/shadow/SelectRuleFeatureSet.h

Issue 347643002: Reduce forward declarations in core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 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/dom/shadow/ComposedTreeWalker.h ('k') | Source/core/editing/VisiblePosition.h » ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef SelectRuleFeatureSet_h 31 #ifndef SelectRuleFeatureSet_h
32 #define SelectRuleFeatureSet_h 32 #define SelectRuleFeatureSet_h
33 33
34 #include "core/css/RuleFeature.h" 34 #include "core/css/RuleFeature.h"
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class Element;
40 class SpaceSplitString; 39 class SpaceSplitString;
41 40
42 class SelectRuleFeatureSet { 41 class SelectRuleFeatureSet {
43 DISALLOW_ALLOCATION(); 42 DISALLOW_ALLOCATION();
44 public: 43 public:
45 SelectRuleFeatureSet(); 44 SelectRuleFeatureSet();
46 45
47 void add(const SelectRuleFeatureSet&); 46 void add(const SelectRuleFeatureSet&);
48 void clear(); 47 void clear();
49 void collectFeaturesFromSelector(const CSSSelector&); 48 void collectFeaturesFromSelector(const CSSSelector&);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 87
89 inline bool SelectRuleFeatureSet::hasSelectorForAttribute(const AtomicString& at tributeName) const 88 inline bool SelectRuleFeatureSet::hasSelectorForAttribute(const AtomicString& at tributeName) const
90 { 89 {
91 ASSERT(!attributeName.isEmpty()); 90 ASSERT(!attributeName.isEmpty());
92 return m_cssRuleFeatureSet.hasSelectorForAttribute(attributeName); 91 return m_cssRuleFeatureSet.hasSelectorForAttribute(attributeName);
93 } 92 }
94 93
95 } 94 }
96 95
97 #endif 96 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/shadow/ComposedTreeWalker.h ('k') | Source/core/editing/VisiblePosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698