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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLCollection.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
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 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All
5 * rights reserved. 5 * rights reserved.
6 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 11 matching lines...) Expand all
22 * 22 *
23 */ 23 */
24 24
25 #ifndef HTMLCollection_h 25 #ifndef HTMLCollection_h
26 #define HTMLCollection_h 26 #define HTMLCollection_h
27 27
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/dom/LiveNodeListBase.h" 29 #include "core/dom/LiveNodeListBase.h"
30 #include "core/html/CollectionItemsCache.h" 30 #include "core/html/CollectionItemsCache.h"
31 #include "core/html/CollectionType.h" 31 #include "core/html/CollectionType.h"
32 #include "wtf/Forward.h" 32 #include "platform/wtf/Forward.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 // A simple iterator based on an index number in an HTMLCollection. 36 // A simple iterator based on an index number in an HTMLCollection.
37 // This doesn't work if the HTMLCollection is updated during iteration. 37 // This doesn't work if the HTMLCollection is updated during iteration.
38 template <class CollectionType, class NodeType> 38 template <class CollectionType, class NodeType>
39 class HTMLCollectionIterator { 39 class HTMLCollectionIterator {
40 STACK_ALLOCATED(); 40 STACK_ALLOCATED();
41 41
42 public: 42 public:
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 if (!attr_name || 227 if (!attr_name ||
228 ShouldInvalidateTypeOnAttributeChange(InvalidationType(), *attr_name)) 228 ShouldInvalidateTypeOnAttributeChange(InvalidationType(), *attr_name))
229 InvalidateCache(); 229 InvalidateCache();
230 else if (*attr_name == HTMLNames::idAttr || *attr_name == HTMLNames::nameAttr) 230 else if (*attr_name == HTMLNames::idAttr || *attr_name == HTMLNames::nameAttr)
231 InvalidateIdNameCacheMaps(); 231 InvalidateIdNameCacheMaps();
232 } 232 }
233 233
234 } // namespace blink 234 } // namespace blink
235 235
236 #endif // HTMLCollection_h 236 #endif // HTMLCollection_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698