/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HTMLInputElementCustom.cpp | 41 v8::Handle<v8::Value> V8HTMLInputElement::selectionStartAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 44 v8::Handle<v8::Object> holder = info.Holder(); 51 return v8::Integer::New(v); 54 void V8HTMLInputElement::selectionStartAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8CSSStyleSheetCustom.cpp | 39 v8::Handle<v8::Value> toV8(CSSStyleSheet* impl) 42 return v8::Null(); 43 v8::Handle<v8::Object> wrapper = V8CSSStyleSheet::wrap(impl);
|
V8PerformanceCustom.cpp | 42 v8::Handle<v8::Value> V8Performance::memoryAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
|
V8DOMStringMapCustom.cpp | 41 v8::Handle<v8::Integer> V8DOMStringMap::namedPropertyQuery(v8::Local<v8::String> name, const v8::AccessorInfo& info) 45 return v8::Integer::New(v8::None); 46 return v8::Handle<v8::Integer>(); 49 v8::Handle<v8::Value> V8DOMStringMap::namedPropertyGetter(v8::Local<v8::String> name, const v8::Acces (…) [all...] |
V8HTMLElementCustom.cpp | 38 v8::Handle<v8::Value> toV8(HTMLElement* impl, bool forceNewObject) 41 return v8::Null();
|
V8SVGElementCustom.cpp | 40 v8::Handle<v8::Value> toV8(SVGElement* impl, bool forceNewObject) 43 return v8::Null();
|
V8DeviceOrientationEventCustom.cpp | 36 #include <v8.h> 40 v8::Handle<v8::Value> V8DeviceOrientationEvent::alphaAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 43 v8::Handle<v8::Object> holder = info.Holder(); 46 return v8::Null(); 47 return v8::Number::New(imp->orientation()->alpha()) [all...] |
V8StorageCustom.cpp | 43 v8::Handle<v8::Array> V8Storage::namedPropertyEnumerator(const v8::AccessorInfo& info) 47 v8::Handle<v8::Array> properties = v8::Array::New(length); 52 properties->Set(v8::Integer::New(i), v8String(key)); 58 static v8::Handle<v8::Value> storageGetter(v8::Local<v8::String> v8Name, const v8::AccessorInfo& info [all...] |
V8DOMWindowCustom.cpp | 74 v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, bool singleShot) 79 return v8::Undefined(); 86 return v8::Undefined(); 89 v8::Handle<v8::Value> function = args[0]; 95 v8::Handle<v8::Value> v8String = function->ToString(); 99 return v8::Undefined() [all...] |
V8DOMTokenListCustom.cpp | 41 v8::Handle<v8::Value> toV8(DOMTokenList* impl) 44 return v8::Null(); 45 v8::Handle<v8::Object> wrapper = V8DOMTokenList::wrap(impl); 49 v8::Handle<v8::Value> elementValue = toV8(element); 51 V8DOMWrapper::setNamedHiddenReference(elementValue.As<v8::Object>(), "domTokenList", wrapper);
|
V8HTMLDocumentCustom.cpp | 52 v8::Local<v8::Object> V8HTMLDocument::WrapInShadowObject(v8::Local<v8::Object> wrapper, Node* impl) 54 DEFINE_STATIC_LOCAL(v8::Persistent<v8::FunctionTemplate>, shadowTemplate, ()); 56 shadowTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New()); 58 return v8::Local<v8::Object>() [all...] |
V8HTMLSelectElementCustom.cpp | 49 v8::Handle<v8::Value> V8HTMLSelectElement::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info) 59 v8::Handle<v8::Value> V8HTMLSelectElement::indexedPropertySetter(uint32_t index, v8::Local<v8::Value> value, const v8::AccessorInfo& info) 66 v8::Handle<v8::Value> V8HTMLSelectElement::removeCallback(const v8::Arguments& args [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8WorkerContextErrorHandler.cpp | 42 V8WorkerContextErrorHandler::V8WorkerContextErrorHandler(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 47 v8::Local<v8::Value> V8WorkerContextErrorHandler::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) 50 v8::Local<v8::Object> listener = getListenerObject(context); 51 v8::Local<v8::Value> returnValue [all...] |
V8EventListenerList.h | 37 #include <v8.h> 43 // This is a container for V8EventListener objects that uses hidden properties of v8::Object to speed up lookups. 46 static PassRefPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, bool isAttribute) 48 ASSERT(v8::Context::InContext()); 52 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(isAttribute); 53 return doFindWrapper(v8::Local<v8::Object>::Cast(value), wrapperProperty); 57 static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute) [all...] |
JavaScriptCallFrame.cpp | 40 JavaScriptCallFrame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame) 53 v8::HandleScope handleScope; 54 v8::Context::Scope contextScope(m_debuggerContext.get()); 55 v8::Handle<v8::Value> callerFrame = m_callFrame.get()->Get(v8String("caller")); 58 m_caller = JavaScriptCallFrame::create(m_debuggerContext.get(), v8::Handle<v8::Object>::Cast(callerFrame)) [all...] |
V8WorkerContextEventListener.cpp | 52 V8WorkerContextEventListener::V8WorkerContextEventListener(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 66 v8::HandleScope handleScope; 72 v8::Handle<v8::Context> v8Context = proxy->context(); 76 // Enter the V8 context in which to perform the event handling. 77 v8::Context::Scope scope(v8Context); 79 // Get the V8 wrapper for the event object. 80 v8::Handle<v8::Value> jsEvent = toV8(event) [all...] |
V8Helpers.h | 35 #include <v8.h> 40 v8::Local<v8::Context> toV8Context(NPP, NPObject*);
|
WrapperTypeInfo.h | 34 #include <v8.h> 46 typedef v8::Persistent<v8::FunctionTemplate> (*GetTemplateFunction)(); 48 typedef ActiveDOMObject* (*ToActiveDOMObjectFunction)(v8::Handle<v8::Object>); 51 // v8 objects. Each v8 bindings class has exactly one static WrapperTypeInfo member, so 55 static WrapperTypeInfo* unwrap(v8::Handle<v8::Value> typeInfoWrapper) 57 return reinterpret_cast<WrapperTypeInfo*>(v8::External::Unwrap(typeInfoWrapper)) [all...] |
ScriptState.h | 35 #include <v8.h> 50 void setException(v8::Local<v8::Value> exception) 54 v8::Local<v8::Value> exception() { return m_exception; } 56 v8::Local<v8::Context> context() const 58 return v8::Local<v8::Context>::New(m_context); 61 static ScriptState* forContext(v8::Local<v8::Context>) [all...] |
V8NodeFilterCondition.cpp | 44 V8NodeFilterCondition::V8NodeFilterCondition(v8::Handle<v8::Value> filter) 45 : m_filter(v8::Persistent<v8::Value>::New(filter)) 63 ASSERT(v8::Context::InContext()); 68 v8::TryCatch exceptionCatcher; 70 v8::Handle<v8::Function> callback; 72 callback = v8::Handle<v8::Function>::Cast(m_filter) [all...] |
RetainedObjectInfo.h | 34 #include <v8-profiler.h> 38 class RetainedObjectInfo : public v8::RetainedObjectInfo {
|
V8NPUtils.h | 39 #include <v8.h> 43 // Convert a V8 Value of any type (string, bool, object, etc) to a NPVariant. 44 void convertV8ObjectToNPVariant(v8::Local<v8::Value>, NPObject*, NPVariant*); 46 // Convert a NPVariant (string, bool, object, etc) back to a V8 Value. The owner object is the NPObject which relates to the 48 v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant*, NPObject*); 50 // Helper function to create an NPN String Identifier from a v8 string. 51 NPIdentifier getStringIdentifier(v8::Handle<v8::String>) [all...] |
V8Utilities.cpp | 34 #include <v8.h> 53 void createHiddenDependency(v8::Handle<v8::Object> object, v8::Local<v8::Value> value, int cacheIndex) 55 v8::Local<v8::Value> cache = object->GetInternalField(cacheIndex); 57 cache = v8::Array::New(); 61 v8::Local<v8::Array> cacheArray = v8::Local<v8::Array>::Cast(cache) [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
V8TestMediaQueryListListener.cpp | 42 static v8::Handle<v8::Value> methodCallback(const v8::Arguments& args) 48 return v8::Handle<v8::Value>(); 56 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListenerTemplate(v8::Persistent<v8::FunctionTemplate> desc) 58 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestMediaQueryListListener", v8: (…) [all...] |
/external/v8/samples/ |
shell.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 28 #include <v8.h> 41 * based on V8. This includes initializing V8 with command line options, 48 v8::Persistent<v8::Context> CreateShellContext(); 49 void RunShell(v8::Handle<v8::Context> context); 51 bool ExecuteString(v8::Handle<v8::String> source [all...] |