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

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

Issue 21006006: Add forEach() to CSSVariablesMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/CSSStyleDeclaration.h
diff --git a/Source/core/css/CSSStyleDeclaration.h b/Source/core/css/CSSStyleDeclaration.h
index 0459adcbbc56d3a09ccd37205dbf2f0d0746b3fe..e98ba71f6a7240dffee9ee4d41804f455ae461d4 100644
--- a/Source/core/css/CSSStyleDeclaration.h
+++ b/Source/core/css/CSSStyleDeclaration.h
@@ -23,6 +23,7 @@
#include "CSSPropertyNames.h"
#include "bindings/v8/ScriptWrappable.h"
+#include "core/css/CSSVariablesIterator.h"
#include "core/css/CSSVariablesMap.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -65,6 +66,7 @@ public:
virtual void setVariableValue(const AtomicString& name, const String& value, ExceptionCode&) = 0;
virtual bool removeVariable(const AtomicString& name) = 0;
virtual void clearVariables(ExceptionCode&) = 0;
+ virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const = 0;
// CSSPropertyID versions of the CSSOM functions to support bindings and editing.
// Use the non-virtual methods in the concrete subclasses when possible.

Powered by Google App Engine
This is Rietveld 408576698