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

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

Issue 1109323002: [bindings] Support passing of ScriptState for namedPropertyQuery form of getter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 c24a6ef54aac8c04889ef59343b51fe5dd2fbdd4..27870d51cb2fbe470ad32f3ae99daf2711af77ff 100644
--- a/Source/core/css/CSSStyleDeclaration.h
+++ b/Source/core/css/CSSStyleDeclaration.h
@@ -22,6 +22,7 @@
#define CSSStyleDeclaration_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "bindings/core/v8/UnionTypesCore.h"
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
#include "wtf/Forward.h"
@@ -69,6 +70,10 @@ public:
virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const = 0;
virtual CSSStyleSheet* parentStyleSheet() const { return 0; }
+ virtual void anonymousNamedGetter(ScriptState*, const AtomicString& name, StringOrFloat&);
+ virtual bool anonymousNamedSetter(ScriptState*, const String& name, const String& value, ExceptionState&);
+ virtual bool namedPropertyQuery(ScriptState*, const AtomicString& name, ExceptionState&);
+ virtual void namedPropertyEnumerator(Vector<String>& names, ExceptionState&);
DEFINE_INLINE_VIRTUAL_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698