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

Side by Side Diff: Source/core/html/HTMLCollection.cpp

Issue 355163004: Move HTMLTagCollection to its own file (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/TagCollection.cpp ('k') | Source/core/html/HTMLTagCollection.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r ights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r ights reserved.
5 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 14 matching lines...) Expand all
25 #include "core/html/HTMLCollection.h" 25 #include "core/html/HTMLCollection.h"
26 26
27 #include "core/HTMLNames.h" 27 #include "core/HTMLNames.h"
28 #include "core/dom/ClassCollection.h" 28 #include "core/dom/ClassCollection.h"
29 #include "core/dom/ElementTraversal.h" 29 #include "core/dom/ElementTraversal.h"
30 #include "core/dom/NodeRareData.h" 30 #include "core/dom/NodeRareData.h"
31 #include "core/html/DocumentNameCollection.h" 31 #include "core/html/DocumentNameCollection.h"
32 #include "core/html/HTMLElement.h" 32 #include "core/html/HTMLElement.h"
33 #include "core/html/HTMLObjectElement.h" 33 #include "core/html/HTMLObjectElement.h"
34 #include "core/html/HTMLOptionElement.h" 34 #include "core/html/HTMLOptionElement.h"
35 #include "core/html/HTMLTagCollection.h"
35 #include "core/html/WindowNameCollection.h" 36 #include "core/html/WindowNameCollection.h"
36 #include "wtf/HashSet.h" 37 #include "wtf/HashSet.h"
37 38
38 namespace WebCore { 39 namespace WebCore {
39 40
40 using namespace HTMLNames; 41 using namespace HTMLNames;
41 42
42 static bool shouldTypeOnlyIncludeDirectChildren(CollectionType type) 43 static bool shouldTypeOnlyIncludeDirectChildren(CollectionType type)
43 { 44 {
44 switch (type) { 45 switch (type) {
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } 518 }
518 519
519 void HTMLCollection::trace(Visitor* visitor) 520 void HTMLCollection::trace(Visitor* visitor)
520 { 521 {
521 visitor->trace(m_namedItemCache); 522 visitor->trace(m_namedItemCache);
522 visitor->trace(m_collectionIndexCache); 523 visitor->trace(m_collectionIndexCache);
523 LiveNodeListBase::trace(visitor); 524 LiveNodeListBase::trace(visitor);
524 } 525 }
525 526
526 } // namespace WebCore 527 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/TagCollection.cpp ('k') | Source/core/html/HTMLTagCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698