Searched refs:Persistent (Results 1 - 25 of 138) sorted by relevance

123456

/external/webkit/Source/WebCore/bindings/v8/
H A DSharedPersistent.h47 void set(v8::Persistent<T> value)
51 v8::Persistent<T> get()
62 static PassRefPtr<SharedPersistent<T> > create(v8::Persistent<T> value)
68 return create(v8::Persistent<T>());
71 explicit SharedPersistent(v8::Persistent<T> value) : m_value(value) { }
72 v8::Persistent<T> m_value;
H A DScriptWrappable.h42 v8::Persistent<v8::Object>* wrapper() const
47 void setWrapper(v8::Persistent<v8::Object>* wrapper)
56 v8::Persistent<v8::Object>* m_wrapper;
H A DV8HiddenPropertyName.cpp45 static v8::Persistent<v8::String>* string = createString("WebCore::HiddenProperty::" V8_AS_STRING(name)); \
61 v8::Persistent<v8::String>* V8HiddenPropertyName::createString(const char* key)
64 return new v8::Persistent<v8::String>(v8::Persistent<v8::String>::New(v8::String::NewSymbol(key)));
H A DDOMDataStore.cpp137 void DOMDataStore::weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject)
141 DOMData::handleWeakObject(DOMDataStore::DOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject);
144 void DOMDataStore::weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject)
148 DOMData::handleWeakObject(DOMDataStore::ActiveDOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject);
151 void DOMDataStore::weakNodeCallback(v8::Persistent<v8::Value> value, void* domObject)
157 v8::Persistent<v8::Object> v8Object = v8::Persistent<v8::Object>::Cast(value);
178 void DOMDataStore::weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject)
182 DOMData::handleWeakObject(DOMDataStore::DOMSVGElementInstanceMap, v8::Persistent<v8::Object>::Cast(v8Object), static_cast<SVGElementInstance*>(domObject));
H A DV8DOMWindowShell.h68 v8::Persistent<v8::Context> createNewContext(v8::Handle<v8::Object> global, int extensionGroup);
89 v8::Persistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type);
116 typedef WTF::HashMap<WrapperTypeInfo*, v8::Persistent<v8::Object> > WrapperBoilerplateMap;
119 v8::Persistent<v8::Context> m_context;
120 v8::Persistent<v8::Object> m_global;
121 v8::Persistent<v8::Object> m_document;
H A DV8DOMMap.h54 virtual void visitDOMWrapper(DOMDataStore* store, KeyType* key, v8::Persistent<ValueType> object) = 0;
59 virtual v8::Persistent<ValueType> get(KeyType* obj) = 0;
60 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) = 0;
63 virtual bool removeIfPresent(KeyType*, v8::Persistent<ValueType>) = 0;
83 virtual v8::Persistent<ValueType> get(KeyType* obj)
86 return wrapper ? v8::Persistent<ValueType>(wrapper) : v8::Persistent<ValueType>();
89 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper)
103 v8::Persistent<ValueType> handle(wrapper);
108 bool removeIfPresent(KeyType* key, v8::Persistent<ValueTyp
[all...]
H A DDOMDataStore.h95 static void weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
98 static void weakNodeCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
99 static void weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
101 static void weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
H A DOwnHandle.h42 explicit OwnHandle(v8::Handle<T> handle) : m_handle(v8::Persistent<T>::New(handle)) { }
46 void set(v8::Handle<T> handle) { clear(); m_handle = v8::Persistent<T>::New(handle); }
69 static void weakCallback(v8::Persistent<v8::Value> object, void* ownHandle)
75 v8::Persistent<T> m_handle;
H A DScriptInstance.cpp55 v8::Persistent<v8::Object> V8ScriptInstance::instance()
77 m_instance = v8::Persistent<v8::Object>::New(instance);
H A DScriptInstance.h51 v8::Persistent<v8::Object> instance();
56 mutable v8::Persistent<v8::Object> m_instance;
H A DV8GCController.h71 static void registerGlobalHandle(GlobalHandleType, void*, v8::Persistent<v8::Value>);
72 static void unregisterGlobalHandle(void*, v8::Persistent<v8::Value>);
H A DScriptState.h72 static void weakReferenceCallback(v8::Persistent<v8::Value> object, void* parameter);
75 v8::Persistent<v8::Context> m_context;
92 m_context = v8::Persistent<v8::Context>::New(scriptState->context());
104 v8::Persistent<v8::Context> m_context;
H A DV8DataGridDataSource.cpp46 : m_dataSource(v8::Persistent<v8::Value>::New(dataSource))
H A DIntrusiveDOMWrapperMap.h134 virtual v8::Persistent<v8::Object> get(Node* obj)
136 v8::Persistent<v8::Object>* wrapper = obj->wrapper();
137 return wrapper ? *wrapper : v8::Persistent<v8::Object>();
140 virtual void set(Node* obj, v8::Persistent<v8::Object> wrapper)
144 v8::Persistent<v8::Object>* entry = m_table.add(wrapper);
159 virtual bool removeIfPresent(Node* obj, v8::Persistent<v8::Object> value)
162 v8::Persistent<v8::Object>* entry = obj->wrapper();
185 static void move(v8::Persistent<v8::Object>* target, v8::Persistent<v8::Object>* source)
193 static void clear(v8::Persistent<v
[all...]
/external/webkit/Source/WebCore/bindings/scripts/test/V8/
H A DV8TestInterface.cpp49 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Persistent<v8::FunctionTemplate> desc)
51 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount,
63 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetRawTemplate()
65 static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceRawCache = createRawTemplate();
69 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetTemplate()
71 static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceCache = ConfigureV8TestInterfaceTemplate(GetRawTemplate());
90 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper);
H A DV8TestSerializedScriptValueInterface.cpp45 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInterfaceTemplate(v8::Persistent<v8::FunctionTemplate> desc)
47 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestSerializedScriptValueInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestSerializedScriptValueInterface::internalFieldCount,
58 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetRawTemplate()
60 static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceRawCache = createRawTemplate();
64 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTemplate()
66 static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceCache = ConfigureV8TestSerializedScriptValueInterfaceTemplate(GetRawTemplate());
86 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper);
H A DV8TestMediaQueryListListener.cpp56 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListenerTemplate(v8::Persistent<v8::FunctionTemplate> desc)
58 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestMediaQueryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMediaQueryListListener::internalFieldCount,
70 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetRawTemplate()
72 static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerRawCache = createRawTemplate();
76 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetTemplate()
78 static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerCache = ConfigureV8TestMediaQueryListListenerTemplate(GetRawTemplate());
97 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper);
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8HTMLAudioElementConstructor.h42 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
H A DV8HTMLImageElementConstructor.h42 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
H A DV8HTMLOptionElementConstructor.h42 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
H A DV8CustomVoidCallback.h58 v8::Persistent<v8::Object> m_callback;
64 bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8::Value> argv[], bool& callbackReturnValue, ScriptExecutionContext* scriptExecutionContext);
H A DV8HTMLAudioElementConstructor.cpp76 V8DOMWrapper::setJSWrapperForDOMNode(audio.get(), v8::Persistent<v8::Object>::New(args.Holder()));
80 v8::Persistent<v8::FunctionTemplate> V8HTMLAudioElementConstructor::GetTemplate()
82 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
94 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
H A DV8HTMLImageElementConstructor.cpp87 V8DOMWrapper::setJSWrapperForDOMNode(image.get(), v8::Persistent<v8::Object>::New(args.Holder()));
91 v8::Persistent<v8::FunctionTemplate> V8HTMLImageElementConstructor::GetTemplate()
93 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
105 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
H A DV8HTMLOptionElementConstructor.cpp85 V8DOMWrapper::setJSWrapperForDOMNode(option.get(), v8::Persistent<v8::Object>::New(args.Holder()));
89 v8::Persistent<v8::FunctionTemplate> V8HTMLOptionElementConstructor::GetTemplate()
91 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
103 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
H A DV8CustomVoidCallback.cpp41 : m_callback(v8::Persistent<v8::Object>::New(callback))
66 bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8::Value> argv[], bool& callbackReturnValue, ScriptExecutionContext* scriptExecutionContext)
73 callbackFunction = v8::Local<v8::Function>::New(v8::Persistent<v8::Function>::Cast(callback));

Completed in 845 milliseconds

123456