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

Side by Side Diff: Source/core/html/shadow/HTMLContentElement.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 11 matching lines...) Expand all
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/html/shadow/HTMLContentElement.h" 28 #include "core/html/shadow/HTMLContentElement.h"
29 29
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "core/css/CSSParser.h" 31 #include "core/css/CSSParser.h"
32 #include "core/css/CSSSelectorList.h"
33 #include "core/css/SelectorChecker.h" 32 #include "core/css/SelectorChecker.h"
34 #include "core/css/SiblingTraversalStrategies.h" 33 #include "core/css/SiblingTraversalStrategies.h"
35 #include "core/dom/QualifiedName.h" 34 #include "core/dom/QualifiedName.h"
36 #include "core/dom/shadow/ElementShadow.h" 35 #include "core/dom/shadow/ElementShadow.h"
37 #include "core/dom/shadow/ShadowRoot.h" 36 #include "core/dom/shadow/ShadowRoot.h"
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 using namespace HTMLNames; 40 using namespace HTMLNames;
42 41
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool HTMLContentElement::matchSelector(const Vector<Node*, 32>& siblings, int nt h) const 112 bool HTMLContentElement::matchSelector(const Vector<Node*, 32>& siblings, int nt h) const
114 { 113 {
115 for (const CSSSelector* selector = selectorList().first(); selector; selecto r = CSSSelectorList::next(selector)) { 114 for (const CSSSelector* selector = selectorList().first(); selector; selecto r = CSSSelectorList::next(selector)) {
116 if (checkOneSelector(selector, siblings, nth)) 115 if (checkOneSelector(selector, siblings, nth))
117 return true; 116 return true;
118 } 117 }
119 return false; 118 return false;
120 } 119 }
121 120
122 } 121 }
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeNumericFieldElement.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698