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

Unified Diff: Source/bindings/core/v8/V8DOMConfiguration.h

Issue 1161463009: bindings: Supports [LenientThis] extended attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a layout test for [LenientThis]. Created 5 years, 6 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 | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/bindings/core/v8/V8DOMConfiguration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8DOMConfiguration.h
diff --git a/Source/bindings/core/v8/V8DOMConfiguration.h b/Source/bindings/core/v8/V8DOMConfiguration.h
index ac24e9ef5bc5adc66a415ea62d40f102287faf6e..0584f38553a03c82f2a04f32e48312fe33b7560d 100644
--- a/Source/bindings/core/v8/V8DOMConfiguration.h
+++ b/Source/bindings/core/v8/V8DOMConfiguration.h
@@ -54,6 +54,11 @@ public:
OnPrototype,
};
+ enum HolderCheckConfiguration {
+ CheckHolder,
+ DoNotCheckHolder,
+ };
+
// AttributeConfiguration translates into calls to SetAccessor() on either
// the instance or the prototype ObjectTemplate, based on |instanceOrPrototypeConfiguration|.
struct AttributeConfiguration {
@@ -65,8 +70,8 @@ public:
const WrapperTypeInfo* data;
v8::AccessControl settings;
v8::PropertyAttribute attribute;
- ExposeConfiguration exposeConfiguration;
- InstanceOrPrototypeConfiguration instanceOrPrototypeConfiguration;
+ unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned instanceOrPrototypeConfiguration : 1; // InstanceOrPrototypeConfiguration
};
static void installAttributes(v8::Isolate*, v8::Local<v8::ObjectTemplate> instanceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, const AttributeConfiguration*, size_t attributeCount);
@@ -86,7 +91,8 @@ public:
const WrapperTypeInfo* data;
v8::AccessControl settings;
v8::PropertyAttribute attribute;
- ExposeConfiguration exposeConfiguration;
+ unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration
};
static void installAccessors(v8::Isolate*, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Signature>, const AccessorConfiguration*, size_t accessorCount);
« no previous file with comments | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/bindings/core/v8/V8DOMConfiguration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698