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

Side by Side Diff: Source/core/dom/LiveNodeList.h

Issue 158483002: Remove unused InvalidateOnItemAttrChange NodeList invalidation type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/Document.h ('k') | no next file » | 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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2006, 2007 Apple Inc. 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return attrName == HTMLNames::nameAttr; 110 return attrName == HTMLNames::nameAttr;
111 case InvalidateOnIdNameAttrChange: 111 case InvalidateOnIdNameAttrChange:
112 return attrName == HTMLNames::idAttr || attrName == HTMLNames::nameAttr; 112 return attrName == HTMLNames::idAttr || attrName == HTMLNames::nameAttr;
113 case InvalidateOnForAttrChange: 113 case InvalidateOnForAttrChange:
114 return attrName == HTMLNames::forAttr; 114 return attrName == HTMLNames::forAttr;
115 case InvalidateForFormControls: 115 case InvalidateForFormControls:
116 return attrName == HTMLNames::nameAttr || attrName == HTMLNames::idAttr || attrName == HTMLNames::forAttr 116 return attrName == HTMLNames::nameAttr || attrName == HTMLNames::idAttr || attrName == HTMLNames::forAttr
117 || attrName == HTMLNames::formAttr || attrName == HTMLNames::typeAtt r; 117 || attrName == HTMLNames::formAttr || attrName == HTMLNames::typeAtt r;
118 case InvalidateOnHRefAttrChange: 118 case InvalidateOnHRefAttrChange:
119 return attrName == HTMLNames::hrefAttr; 119 return attrName == HTMLNames::hrefAttr;
120 case InvalidateOnItemAttrChange:
121 case DoNotInvalidateOnAttributeChanges: 120 case DoNotInvalidateOnAttributeChanges:
122 return false; 121 return false;
123 case InvalidateOnAnyAttrChange: 122 case InvalidateOnAnyAttrChange:
124 return true; 123 return true;
125 } 124 }
126 return false; 125 return false;
127 } 126 }
128 127
129 class LiveNodeList : public NodeList, public LiveNodeListBase { 128 class LiveNodeList : public NodeList, public LiveNodeListBase {
130 public: 129 public:
(...skipping 19 matching lines...) Expand all
150 149
151 private: 150 private:
152 virtual bool isLiveNodeList() const OVERRIDE FINAL { return true; } 151 virtual bool isLiveNodeList() const OVERRIDE FINAL { return true; }
153 152
154 mutable CollectionIndexCache<LiveNodeList, Element> m_collectionIndexCache; 153 mutable CollectionIndexCache<LiveNodeList, Element> m_collectionIndexCache;
155 }; 154 };
156 155
157 } // namespace WebCore 156 } // namespace WebCore
158 157
159 #endif // LiveNodeList_h 158 #endif // LiveNodeList_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698