| OLD | NEW |
| 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-2008, 2011, 2012, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003-2008, 2011, 2012, 2014 Apple Inc. All rights 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/dom/NodeRareData.h" | 29 #include "core/dom/NodeRareData.h" |
| 30 #include "core/html/DocumentNameCollection.h" | 30 #include "core/html/DocumentNameCollection.h" |
| 31 #include "core/html/HTMLDataListOptionsCollection.h" | 31 #include "core/html/HTMLDataListOptionsCollection.h" |
| 32 #include "core/html/HTMLElement.h" | 32 #include "core/html/HTMLElement.h" |
| 33 #include "core/html/HTMLFormControlElement.h" | 33 #include "core/html/HTMLFormControlElement.h" |
| 34 #include "core/html/HTMLObjectElement.h" | 34 #include "core/html/HTMLObjectElement.h" |
| 35 #include "core/html/HTMLOptionElement.h" | 35 #include "core/html/HTMLOptionElement.h" |
| 36 #include "core/html/HTMLOptionsCollection.h" | 36 #include "core/html/HTMLOptionsCollection.h" |
| 37 #include "core/html/HTMLTagCollection.h" | 37 #include "core/html/HTMLTagCollection.h" |
| 38 #include "core/html/WindowNameCollection.h" | 38 #include "core/html/WindowNameCollection.h" |
| 39 #include "wtf/HashSet.h" | 39 #include "platform/wtf/HashSet.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 using namespace HTMLNames; | 43 using namespace HTMLNames; |
| 44 | 44 |
| 45 static bool ShouldTypeOnlyIncludeDirectChildren(CollectionType type) { | 45 static bool ShouldTypeOnlyIncludeDirectChildren(CollectionType type) { |
| 46 switch (type) { | 46 switch (type) { |
| 47 case kClassCollectionType: | 47 case kClassCollectionType: |
| 48 case kTagCollectionType: | 48 case kTagCollectionType: |
| 49 case kHTMLTagCollectionType: | 49 case kHTMLTagCollectionType: |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 | 519 |
| 520 HTMLCollection::NamedItemCache::NamedItemCache() {} | 520 HTMLCollection::NamedItemCache::NamedItemCache() {} |
| 521 | 521 |
| 522 DEFINE_TRACE(HTMLCollection) { | 522 DEFINE_TRACE(HTMLCollection) { |
| 523 visitor->Trace(named_item_cache_); | 523 visitor->Trace(named_item_cache_); |
| 524 visitor->Trace(collection_items_cache_); | 524 visitor->Trace(collection_items_cache_); |
| 525 LiveNodeListBase::Trace(visitor); | 525 LiveNodeListBase::Trace(visitor); |
| 526 } | 526 } |
| 527 | 527 |
| 528 } // namespace blink | 528 } // namespace blink |
| OLD | NEW |