/external/webkit/Source/WebCore/bindings/v8/ |
NPV8Object.h | 45 #include <v8.h> 57 // A V8NPObject is a NPObject which carries additional V8-specific information. It is allocated and deallocated by 61 v8::Persistent<v8::Object> v8Object; 73 NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, DOMWindow*); 75 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object>);
|
ScriptCallStackFactory.cpp | 42 #include <v8-debug.h> 46 static ScriptCallFrame toScriptCallFrame(v8::Handle<v8::StackFrame> frame) 49 v8::Local<v8::String> sourceNameValue(frame->GetScriptNameOrSourceURL()); 54 v8::Local<v8::String> functionNameValue(frame->GetFunctionName()); 63 static void toScriptCallFramesVector(v8::Handle<v8::StackTrace> stackTrace, Vector<ScriptCallFrame>& scriptCallFrames, size_t maxStackSize, bool emptyStackIsAllowed) 65 ASSERT(v8::Context::InContext()) [all...] |
ScriptState.cpp | 44 #include <v8.h> 49 ScriptState::ScriptState(v8::Handle<v8::Context> context) 50 : m_context(v8::Persistent<v8::Context>::New(context)) 61 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) 63 v8::Context::Scope contextScope(context); 65 v8::Local<v8::Object> global = context->Global() [all...] |
V8HiddenPropertyName.h | 34 #include <v8.h> 51 #define V8_DECLARE_PROPERTY(name) static v8::Handle<v8::String> name(); 55 static v8::Handle<v8::String> hiddenReferenceName(const char* name); 58 static v8::Persistent<v8::String>* createString(const char* key);
|
SerializedScriptValue.h | 35 #include <v8.h> 42 static void deserializeAndSetProperty(v8::Handle<v8::Object>, const char* propertyName, 43 v8::PropertyAttribute, SerializedScriptValue*); 44 static void deserializeAndSetProperty(v8::Handle<v8::Object>, const char* propertyName, 45 v8::PropertyAttribute, PassRefPtr<SerializedScriptValue>); 48 // function returns an empty representation, schedules a V8 exception to 49 // be thrown using v8::ThrowException(), and sets |didThrow|. In this case 50 // the caller must not invoke any V8 operations until control returns t [all...] |
V8HiddenPropertyName.cpp | 43 v8::Handle<v8::String> V8HiddenPropertyName::name() \ 45 static v8::Persistent<v8::String>* string = createString("WebCore::HiddenProperty::" V8_AS_STRING(name)); \ 53 v8::Handle<v8::String> V8HiddenPropertyName::hiddenReferenceName(const char* name) 58 return v8::String::NewSymbol(prefixedName.data(), static_cast<int>(prefixedName.size())); 61 v8::Persistent<v8::String>* V8HiddenPropertyName::createString(const char* key) 63 v8::HandleScope scope [all...] |
IDBBindingUtilities.cpp | 41 PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value> value) 58 bool getValueFrom(T indexOrName, v8::Handle<v8::Value>& v8Value) 60 v8::Local<v8::Object> object = v8Value->ToObject(); 68 bool setValue(v8::Handle<v8::Value>& v8Object, T indexOrName, const v8::Handle<v8::Value>& v8Value [all...] |
ScheduledAction.cpp | 46 ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value> argv[]) 50 m_function = v8::Persistent<v8::Function>::New(func); 58 m_argv = new v8::Persistent<v8::Value>[argc] [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomApplicationInstalledCallback.h | 31 #include <v8.h> 41 static PassRefPtr<V8CustomApplicationInstalledCallback> create(v8::Local<v8::Value> value, Frame* frame) 51 V8CustomApplicationInstalledCallback(v8::Local<v8::Object>, Frame*); 53 v8::Persistent<v8::Object> m_callback;
|
V8CustomPositionCallback.h | 31 #include <v8.h> 43 static PassRefPtr<V8CustomPositionCallback> create(v8::Local<v8::Value> value, ScriptExecutionContext* context) 53 V8CustomPositionCallback(v8::Local<v8::Object>, ScriptExecutionContext*); 55 v8::Persistent<v8::Object> m_callback;
|
V8CustomPositionErrorCallback.h | 31 #include <v8.h> 43 static PassRefPtr<V8CustomPositionErrorCallback> create(v8::Local<v8::Value> value, ScriptExecutionContext* context) 53 V8CustomPositionErrorCallback(v8::Local<v8::Object>, ScriptExecutionContext*); 55 v8::Persistent<v8::Object> m_callback;
|
V8CustomPositionCallback.cpp | 38 V8CustomPositionCallback::V8CustomPositionCallback(v8::Local<v8::Object> callback, ScriptExecutionContext* context) 40 , m_callback(v8::Persistent<v8::Object>::New(callback)) 51 v8::HandleScope handleScope; 63 v8::Handle<v8::Context> context = proxy->context(); 67 v8::Context::Scope scope(context); 69 v8::Handle<v8::Value> argv[] = [all...] |
V8CustomPositionErrorCallback.cpp | 38 V8CustomPositionErrorCallback::V8CustomPositionErrorCallback(v8::Local<v8::Object> callback, ScriptExecutionContext* context) 40 , m_callback(v8::Persistent<v8::Object>::New(callback)) 51 v8::HandleScope handleScope; 63 v8::Handle<v8::Context> context = proxy->context(); 67 v8::Context::Scope scope(context); 69 v8::Handle<v8::Value> argv[] = [all...] |
V8CustomSQLStatementErrorCallback.cpp | 51 v8::HandleScope handleScope; 53 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); 57 v8::Context::Scope scope(v8Context); 59 v8::Handle<v8::Value> transactionHandle = toV8(transaction); 60 v8::Handle<v8::Value> errorHandle = toV8(error); 66 v8::Handle<v8::Value> argv[] = [all...] |
V8HTMLFrameElementCustom.cpp | 44 void V8HTMLFrameElement::locationAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
|
V8SVGDocumentCustom.cpp | 41 v8::Handle<v8::Value> toV8(SVGDocument* impl, bool forceNewObject) 44 return v8::Null(); 45 v8::Handle<v8::Object> wrapper = V8SVGDocument::wrap(impl, forceNewObject);
|
V8StyleSheetCustom.cpp | 40 v8::Handle<v8::Value> toV8(StyleSheet* impl) 43 return v8::Null(); 46 v8::Handle<v8::Object> wrapper = V8StyleSheet::wrap(impl);
|
V8StyleSheetListCustom.cpp | 42 v8::Handle<v8::Value> V8StyleSheetList::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
|
V8HTMLAllCollectionCustom.cpp | 44 static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, AtomicString name) 50 return v8::Handle<v8::Value>(); 58 static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v8::Value> argument) 60 v8::Local<v8::Uint32> index = argument->ToArrayIndex() [all...] |
V8NamedNodeMapCustom.cpp | 46 v8::Handle<v8::Value> V8NamedNodeMap::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info) 57 v8::Handle<v8::Value> V8NamedNodeMap::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 61 v8::Handle<v8::Value> value = info.Holder()->GetRealNamedPropertyInPrototypeChain(name) [all...] |
V8DirectoryEntryCustom.cpp | 49 v8::Handle<v8::Value> V8DirectoryEntry::getDirectoryCallback(const v8::Arguments& args) 56 return v8::Handle<v8::Value>(); 60 EXCEPTION_BLOCK(v8::Handle<v8::Object>, object, v8::Handle<v8::Object>::Cast(args[1])); 62 v8::Local<v8::Value> v8Create = object->Get(v8::String::New("create")) [all...] |
V8WorkerContextCustom.cpp | 50 v8::Handle<v8::Value> SetTimeoutOrInterval(const v8::Arguments& args, bool singleShot) 56 return v8::Undefined(); 58 v8::Handle<v8::Value> function = args[0]; 64 return v8::Undefined(); 66 v8::Handle<v8::Context> v8Context = proxy->context(); 72 v8::Local<v8::Value>* params = 0 [all...] |
V8ClipboardCustom.cpp | 47 v8::Handle<v8::Value> V8Clipboard::typesAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 54 return v8::Null(); 56 v8::Local<v8::Array> result = v8::Array::New(types.size()); 60 result->Set(v8::Integer::New(index), v8String(*it)) [all...] |
V8HistoryCustom.cpp | 44 v8::Handle<v8::Value> V8History::pushStateCallback(const v8::Arguments& args) 49 return v8::Undefined(); 51 v8::TryCatch tryCatch; 54 return v8::Undefined(); 59 return v8::Undefined(); 68 v8::Handle<v8::Value> V8History::replaceStateCallback(const v8::Arguments& args [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebDevToolsFrontendImpl.cpp | 68 static v8::Local<v8::String> ToV8String(const String& s) 71 return v8::Local<v8::String>(); 73 return v8::String::New(reinterpret_cast<const uint16_t*>(s.characters()), s.length()); 110 v8::HandleScope scope; 111 v8::Handle<v8::Context> frameContext = V8Proxy::context(frame->frame()); 112 v8::Context::Scope contextScope(frameContext); 113 v8::Handle<v8::Value> inspectorBackendValue = frameContext->Global()->Get(v8::String::New("InspectorB (…) [all...] |