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

Side by Side Diff: Source/core/dom/NodeRareData.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/MessagePort.h ('k') | Source/core/dom/Position.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) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 19 matching lines...) Expand all
30 #include "core/dom/TagCollection.h" 30 #include "core/dom/TagCollection.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "wtf/HashSet.h" 32 #include "wtf/HashSet.h"
33 #include "wtf/OwnPtr.h" 33 #include "wtf/OwnPtr.h"
34 #include "wtf/PassOwnPtr.h" 34 #include "wtf/PassOwnPtr.h"
35 #include "wtf/text/AtomicString.h" 35 #include "wtf/text/AtomicString.h"
36 #include "wtf/text/StringHash.h" 36 #include "wtf/text/StringHash.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class LabelsNodeList;
41 class RadioNodeList;
42 class TreeScope;
43
44 class NodeListsNodeData FINAL : public NoBaseWillBeGarbageCollectedFinalized<Nod eListsNodeData> { 40 class NodeListsNodeData FINAL : public NoBaseWillBeGarbageCollectedFinalized<Nod eListsNodeData> {
45 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); 41 WTF_MAKE_NONCOPYABLE(NodeListsNodeData);
46 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 42 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
47 public: 43 public:
48 void clearChildNodeListCache() 44 void clearChildNodeListCache()
49 { 45 {
50 if (m_childNodeList && m_childNodeList->isChildNodeList()) 46 if (m_childNodeList && m_childNodeList->isChildNodeList())
51 toChildNodeList(m_childNodeList)->invalidateCache(); 47 toChildNodeList(m_childNodeList)->invalidateCache();
52 } 48 }
53 49
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 if ((m_childNodeList ? 1 : 0) + m_atomicNameCaches.size() + m_tagCollectionC acheNS.size() != 1) 334 if ((m_childNodeList ? 1 : 0) + m_atomicNameCaches.size() + m_tagCollectionC acheNS.size() != 1)
339 return false; 335 return false;
340 ownerNode.clearNodeLists(); 336 ownerNode.clearNodeLists();
341 return true; 337 return true;
342 } 338 }
343 #endif 339 #endif
344 340
345 } // namespace WebCore 341 } // namespace WebCore
346 342
347 #endif // NodeRareData_h 343 #endif // NodeRareData_h
OLDNEW
« no previous file with comments | « Source/core/dom/MessagePort.h ('k') | Source/core/dom/Position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698