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

Unified Diff: third_party/WebKit/Source/core/dom/DOMTokenList.h

Issue 2683853005: bindings: Make some value iterator properties aliases to Array.prototype functions (Closed)
Patch Set: Remove constexpr from Internals.h to fix the Android build Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/DOMTokenList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMTokenList.h
diff --git a/third_party/WebKit/Source/core/dom/DOMTokenList.h b/third_party/WebKit/Source/core/dom/DOMTokenList.h
index 4dae874e7f4c88f8d8fa12dd7ae8e3a309fe8e25..2cdadd9494449d924dbe3febbc8d2e9e0021b19b 100644
--- a/third_party/WebKit/Source/core/dom/DOMTokenList.h
+++ b/third_party/WebKit/Source/core/dom/DOMTokenList.h
@@ -25,7 +25,6 @@
#ifndef DOMTokenList_h
#define DOMTokenList_h
-#include "bindings/core/v8/Iterable.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/SpaceSplitString.h"
#include "platform/heap/Handle.h"
@@ -46,8 +45,7 @@ class CORE_EXPORT DOMTokenListObserver : public GarbageCollectedMixin {
};
class CORE_EXPORT DOMTokenList : public GarbageCollectedFinalized<DOMTokenList>,
- public ScriptWrappable,
- public ValueIterable<String> {
+ public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(DOMTokenList);
@@ -96,7 +94,6 @@ class CORE_EXPORT DOMTokenList : public GarbageCollectedFinalized<DOMTokenList>,
static AtomicString removeTokens(const AtomicString&, const Vector<String>&);
private:
- IterationSource* startIteration(ScriptState*, ExceptionState&) override;
SpaceSplitString m_tokens;
AtomicString m_value;
WeakMember<DOMTokenListObserver> m_observer;
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/DOMTokenList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698