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

Unified Diff: src/api-arguments.h

Issue 2272383002: [api] Add interceptor for defineProperty(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@DefineProperty
Patch Set: Query descriptor triggers on defineProperty(). Created 4 years, 3 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/api-arguments-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-arguments.h
diff --git a/src/api-arguments.h b/src/api-arguments.h
index 0dfe61824a982181e377b5775dc132af1952a8f6..9e01f3ae7db0aeef90ba34e1dd2a27ce54fa17cb 100644
--- a/src/api-arguments.h
+++ b/src/api-arguments.h
@@ -119,9 +119,16 @@ class PropertyCallbackArguments
inline Handle<Object> Call(GenericNamedPropertySetterCallback f,
Handle<Name> name, Handle<Object> value);
+ inline Handle<Object> Call(GenericNamedPropertyDefinerCallback f,
+ Handle<Name> name,
+ const v8::PropertyDescriptor& desc);
+
inline Handle<Object> Call(IndexedPropertySetterCallback f, uint32_t index,
Handle<Object> value);
+ inline Handle<Object> Call(IndexedPropertyDefinerCallback f, uint32_t index,
+ const v8::PropertyDescriptor& desc);
+
inline void Call(AccessorNameSetterCallback f, Handle<Name> name,
Handle<Object> value);
« no previous file with comments | « src/api.cc ('k') | src/api-arguments-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698