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

Unified Diff: Source/core/css/CSSVariablesMap.h

Issue 21006006: Add forEach() to CSSVariablesMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test fixes and rebased onto Python IDL generator Created 7 years, 4 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
Index: Source/core/css/CSSVariablesMap.h
diff --git a/Source/core/css/CSSVariablesMap.h b/Source/core/css/CSSVariablesMap.h
index bd7878a41591876275d5d1718052422c7e838577..fea2f42638971eb96bf70c06e6a07054495a3cfc 100644
--- a/Source/core/css/CSSVariablesMap.h
+++ b/Source/core/css/CSSVariablesMap.h
@@ -29,6 +29,7 @@
#define CSSVariablesMap_h
#include "RuntimeEnabledFeatures.h"
+#include "core/css/CSSVariablesMapForEachCallback.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -53,6 +54,9 @@ public:
void set(const AtomicString& name, const String& value, ExceptionCode&) const;
bool remove(const AtomicString& name) const;
void clear(ExceptionCode&) const;
+ void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const;
+ void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue thisArg) const;
+ void forEach(PassRefPtr<CSSVariablesMapForEachCallback>) const;
void clearStyleDeclaration() { m_styleDeclaration = 0; }

Powered by Google App Engine
This is Rietveld 408576698