HomeSort by relevance Sort by last modified time
    Searched refs:UnsafePersistent (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/chrome/renderer/extensions/
unsafe_persistent.h 13 // what you're doing. UnsafePersistent is only safe to use when we know that the
15 // UnsafePersistent is alive or 2) when there is a strong Persistent keeping the
16 // memory alive while the UnsafePersistent is alive.
17 template<typename T> class UnsafePersistent {
19 UnsafePersistent() : value_(0) { }
21 explicit UnsafePersistent(v8::Persistent<T>* handle) {
25 UnsafePersistent(v8::Isolate* isolate, const v8::Handle<T>& handle) {
v8_schema_registry.h 46 // by the UnsafePersistent alive. It's not made weak or disposed, and nobody
48 typedef std::map<std::string, UnsafePersistent<v8::Object> > SchemaCache;
object_backed_native_handler.h 68 // pointed by the UnsafePersistent alive. It's not made weak or disposed, and
71 typedef std::vector<UnsafePersistent<v8::Object> > RouterData;
object_backed_native_handler.cc 5 // TODO(dcarney): Remove this when UnsafePersistent is removed.
72 router_data_.push_back(UnsafePersistent<v8::Object>(&data));
v8_schema_registry.cc 5 // TODO(dcarney): Remove this when UnsafePersistent is removed.
103 schema_cache_[api] = UnsafePersistent<v8::Object>(&v8_schema);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
UnsafePersistent.h 39 // what you're doing. UnsafePersistent is only safe to use when we know that the
41 // the UnsafePersistent is alive or 2) when there is a strong Persistent keeping
42 // the memory alive while the UnsafePersistent is alive.
43 template<typename T> class UnsafePersistent {
45 UnsafePersistent() : m_value(0) { }
46 explicit UnsafePersistent(T* value) : m_value(value) { }
47 explicit UnsafePersistent(v8::Persistent<T>& handle)
52 UnsafePersistent(v8::Isolate* isolate, v8::Handle<T>& handle)
64 // UnsafePersistent is alive and valid (see class level comment).
CustomElementBinding.h 34 #include "bindings/v8/UnsafePersistent.h"
55 UnsafePersistent<v8::Object> m_prototype;
V8PerContextData.h 36 #include "bindings/v8/UnsafePersistent.h"
85 UnsafePersistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type);
91 UnsafePersistent<v8::Function> function = m_constructorMap.get(type);
132 typedef WTF::HashMap<WrapperTypeInfo*, UnsafePersistent<v8::Object> > WrapperBoilerplateMap;
135 typedef WTF::HashMap<WrapperTypeInfo*, UnsafePersistent<v8::Function> > ConstructorMap;
V8ValueCache.h 30 #include "bindings/v8/UnsafePersistent.h"
67 HashMap<StringImpl*, UnsafePersistent<v8::String> > m_stringCache;
68 UnsafePersistent<v8::String> m_lastV8String;
ScriptWrappable.h 34 #include "bindings/v8/UnsafePersistent.h"
80 return unsafePersistent().newLocal(isolate);
89 return toWrapperTypeInfo(unsafePersistent().deprecatedHandle());
143 // For calling unsafePersistent and getWrapperFromObject.
147 UnsafePersistent<v8::Object> unsafePersistent() const
150 return UnsafePersistent<v8::Object>(object);
153 static UnsafePersistent<v8::Object> getUnsafeWrapperFromObject(void*)
156 return UnsafePersistent<v8::Object>();
159 static UnsafePersistent<v8::Object> getUnsafeWrapperFromObject(ScriptWrappable* object
    [all...]
DOMWrapperMap.h 34 #include "bindings/v8/UnsafePersistent.h"
45 typedef HashMap<KeyType*, UnsafePersistent<v8::Object> > MapType;
68 typename MapType::AddResult result = m_map.add(key, UnsafePersistent<v8::Object>());
73 result.iterator->value = UnsafePersistent<v8::Object>(persistent);
V8ValueCache.cpp 57 UnsafePersistent<v8::String> cachedV8String = m_stringCache.get(stringImpl);
74 UnsafePersistent<v8::String> cachedV8String = m_stringCache.get(stringImpl);
99 m_lastV8String = UnsafePersistent<v8::String>(wrapper);
ScheduledAction.h 62 Vector<UnsafePersistent<v8::Value> > m_args;
V8PerIsolateData.cpp 102 templates.add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
117 templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
129 templates.add(info, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
V8PerContextData.cpp 100 m_wrapperBoilerplates.set(type, UnsafePersistent<v8::Object>(m_isolate, instance));
136 m_constructorMap.set(type, UnsafePersistent<v8::Function>(m_isolate, function));
ScheduledAction.cpp 56 m_args.append(UnsafePersistent<v8::Value>(m_isolate, argv[i]));
V8NPObject.cpp 39 #include "bindings/v8/UnsafePersistent.h"
175 typedef HashMap<PrivateIdentifier*, UnsafePersistent<v8::FunctionTemplate> > MapType;
177 UnsafePersistent<v8::FunctionTemplate> get(PrivateIdentifier* key)
187 m_map.set(key, UnsafePersistent<v8::FunctionTemplate>(wrapper));
255 UnsafePersistent<v8::FunctionTemplate> functionTemplate = V8NPTemplateMap::sharedInstance(isolate).get(id);
V8PerIsolateData.h 30 #include "bindings/v8/UnsafePersistent.h"
66 typedef HashMap<void*, UnsafePersistent<v8::FunctionTemplate> > TemplateMap;
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestEvent.cpp 92 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
V8TestCustomAccessors.cpp 178 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
V8TestEventConstructor.cpp 172 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
V8TestException.cpp 110 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
V8TestMediaQueryListListener.cpp 121 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
V8TestNamedConstructor.cpp 154 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
interface.cpp 120 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));

Completed in 218 milliseconds

1 2