Home | History | Annotate | Download | only in v8

Lines Matching refs:v8

34 #include "bindings/core/v8/CustomElementBinding.h"
35 #include "bindings/core/v8/ScopedPersistent.h"
36 #include "bindings/core/v8/V8PersistentValueMap.h"
37 #include "bindings/core/v8/WrapperTypeInfo.h"
45 #include <v8.h>
63 static PassOwnPtr<V8PerContextData> create(v8::Handle<v8::Context>);
65 static V8PerContextData* from(v8::Handle<v8::Context>);
69 v8::Handle<v8::Context> context() { return m_context.newLocal(m_isolate); }
74 v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type)
76 v8::Local<v8::Object> boilerplate = m_wrapperBoilerplates.Get(type);
80 v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type)
82 v8::Local<v8::Function> function = m_constructorMap.Get(type);
86 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
97 v8::Handle<v8::Value> compiledPrivateScript(String);
98 void setCompiledPrivateScript(String, v8::Handle<v8::Value>);
101 V8PerContextData(v8::Handle<v8::Context>);
103 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*);
104 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*);
106 v8::Isolate* m_isolate;
110 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Object, false> WrapperBoilerplateMap;
113 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Function, false> ConstructorMap;
120 ScopedPersistent<v8::Context> m_context;
121 ScopedPersistent<v8::Value> m_errorPrototype;
129 V8PersistentValueMap<String, v8::Value, false> m_compiledPrivateScript;
134 static bool setContextDebugData(v8::Handle<v8::Context>, const char* worldName, int debugId);
135 static int contextDebugId(v8::Handle<v8::Context>);