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

Unified Diff: src/arguments.h

Issue 341453003: Support symbol-named properties in API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/api.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arguments.h
diff --git a/src/arguments.h b/src/arguments.h
index 320b6ad6d7d89a264e6593cdb5e0b8556f503da2..ca4acfffea7de55aceead52ebd913b51a70a6daf 100644
--- a/src/arguments.h
+++ b/src/arguments.h
@@ -74,12 +74,22 @@ class Arguments BASE_EMBEDDED {
#define FOR_EACH_CALLBACK_TABLE_MAPPING_1(F) \
F(AccessorGetterCallback, v8::Value, v8::Local<v8::String>) \
+ F(AccessorSymbolGetterCallback, v8::Value, v8::Local<v8::Symbol>) \
+ F(GenericNamedPropertyGetterCallback, \
+ v8::Value, \
+ v8::Local<v8::Name>) \
F(NamedPropertyQueryCallback, \
v8::Integer, \
v8::Local<v8::String>) \
+ F(GenericNamedPropertyQueryCallback, \
+ v8::Integer, \
+ v8::Local<v8::Name>) \
F(NamedPropertyDeleterCallback, \
v8::Boolean, \
v8::Local<v8::String>) \
+ F(GenericNamedPropertyDeleterCallback, \
+ v8::Boolean, \
+ v8::Local<v8::Name>) \
F(IndexedPropertyGetterCallback, \
v8::Value, \
uint32_t) \
@@ -95,6 +105,10 @@ class Arguments BASE_EMBEDDED {
v8::Value, \
v8::Local<v8::String>, \
v8::Local<v8::Value>) \
+ F(GenericNamedPropertySetterCallback, \
+ v8::Value, \
+ v8::Local<v8::Name>, \
+ v8::Local<v8::Value>) \
F(IndexedPropertySetterCallback, \
v8::Value, \
uint32_t, \
@@ -105,6 +119,10 @@ class Arguments BASE_EMBEDDED {
void, \
v8::Local<v8::String>, \
v8::Local<v8::Value>) \
+ F(AccessorSymbolSetterCallback, \
+ void, \
+ v8::Local<v8::Symbol>, \
+ v8::Local<v8::Value>) \
// Custom arguments replicate a small segment of stack that can be
« no previous file with comments | « src/api.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698