Home | History | Annotate | Download | only in src

Lines Matching refs:JS

31 // Additional set of macros for the JS RPC.
46 // JS RPC binds and stubs
49 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
52 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
55 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
58 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
61 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
64 boundObj.addProtoFunction(#Method, OCLASS::js##Method);
67 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
73 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
79 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
85 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
91 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
97 static v8::Handle<v8::Value> js##Method(const v8::Arguments& args) { \
103 // JS RPC main obj macro
106 class JS##Class##BoundObj : public Class##Stub { \
108 JS##Class##BoundObj(Delegate* rpcDelegate, \
122 virtual ~JS##Class##BoundObj() { } \
123 typedef JS##Class##BoundObj OCLASS; \
140 JS##Class##BoundObj* self = static_cast<JS##Class##BoundObj*>(selfPtr); \