/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
V8DOMConfiguration.cpp | 30 #include "bindings/core/v8/V8DOMConfiguration.h" 32 #include "bindings/core/v8/V8ObjectConstructor.h" 37 void V8DOMConfiguration::installAttributes(v8::Handle<v8::ObjectTemplate> instanceTemplate, v8::Handle<v8::ObjectTemplate> prototype, const AttributeConfiguration* attributes, size_t attributeCount, v8::Isolate* isolate) 43 void V8DOMConfiguration::installAccessors(v8::Handle<v8::ObjectTemplate> prototype, v8::Handle<v8::Signature> signature, const AccessorConfiguration* accessors, size_t accessorCount, v8 (…) [all...] |
V8ScriptRunner.cpp | 27 #include "bindings/core/v8/V8ScriptRunner.h" 29 #include "bindings/core/v8/ScriptSourceCode.h" 30 #include "bindings/core/v8/ScriptStreamer.h" 31 #include "bindings/core/v8/V8Binding.h" 32 #include "bindings/core/v8/V8GCController.h" 33 #include "bindings/core/v8/V8RecursionScope.h" 34 #include "bindings/core/v8/V8ThrowException.h" 45 // v8::Function::Call, we don't call handleMaxRecursionDepthExceeded 46 // directly. Instead, we create a v8::Function of 48 void throwStackOverflowException(const v8::FunctionCallbackInfo<v8::Value>& info [all...] |
V8HiddenValue.h | 8 #include "bindings/core/v8/ScopedPersistent.h" 9 #include "bindings/core/v8/ScriptPromiseProperties.h" 10 #include <v8.h> 48 #define V8_DECLARE_METHOD(name) static v8::Handle<v8::String> name(v8::Isolate* isolate); 52 static v8::Local<v8::Value> getHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::String>) [all...] |
V8EventListenerList.h | 34 #include "bindings/core/v8/V8Binding.h" 35 #include "bindings/core/v8/V8EventListener.h" 36 #include <v8.h> 47 // This is a container for V8EventListener objects that uses hidden properties of v8::Object to speed up lookups. 50 static PassRefPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, ScriptState* scriptState) 56 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(false, scriptState->isolate()); 57 return doFindWrapper(v8::Local<v8::Object>::Cast(value), wrapperProperty, scriptState) [all...] |
V8PerContextData.h | 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); [all...] |
ScriptPromise.h | 34 #include "bindings/core/v8/ScriptFunction.h" 35 #include "bindings/core/v8/ScriptValue.h" 36 #include "bindings/core/v8/V8ThrowException.h" 42 #include <v8.h> 52 // memory leaks since it has a reference from C++ to V8. 60 // If |promise| is not a Promise object, throws a v8 TypeError. 61 ScriptPromise(ScriptState*, v8::Handle<v8::Value> promise); 63 ScriptPromise then(v8::Handle<v8::Function> onFulfilled, v8::Handle<v8::Function> onRejected = v8::Handle<v8::Function>()) [all...] |
V8ValueCache.h | 29 #include "bindings/core/v8/V8PersistentValueMap.h" 34 #include <v8.h> 38 class StringCacheMapTraits : public V8PersistentValueMapTraits<StringImpl*, v8::String, true> { 42 typedef v8::PersistentValueMap<StringImpl*, v8::String, StringCacheMapTraits> MapType; 45 MapType* map, StringImpl* key, v8::Local<v8::String>& value) { return key; } 49 const v8::WeakCallbackData<v8::String, WeakCallbackDataType>&); 52 const v8::WeakCallbackData<v8::String, WeakCallbackDataType>& data [all...] |
ScriptCallStackFactory.h | 36 #include <v8.h> 44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::StackTrace::StackTraceOptions>( 45 v8::StackTrace::kLineNumber 46 | v8::StackTrace::kColumnOffset 47 | v8::StackTrace::kScriptId 48 | v8::StackTrace::kScriptNameOrSourceURL 49 | v8::StackTrace::kFunctionName); 51 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, size_t maxStackSize, v8::Isolate*) [all...] |
V8ErrorHandler.cpp | 32 #include "bindings/core/v8/V8ErrorHandler.h" 34 #include "bindings/core/v8/ScriptController.h" 35 #include "bindings/core/v8/V8Binding.h" 36 #include "bindings/core/v8/V8ErrorEvent.h" 37 #include "bindings/core/v8/V8HiddenValue.h" 38 #include "bindings/core/v8/V8ScriptRunner.h" 45 V8ErrorHandler::V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) 50 v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event [all...] |
/external/chromium_org/v8/samples/ |
lineprocessor.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 28 #include <include/v8.h> 31 #include <include/v8-debug.h> 40 * standalone V8-based application. 80 const char* ToCString(const v8::String::Utf8Value& value); 81 void ReportException(v8::Isolate* isolate, v8::TryCatch* handler); 82 v8::Handle<v8::String> ReadFile(v8::Isolate* isolate, const char* name) [all...] |
shell.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 28 #include <include/v8.h> 44 * based on V8. This includes initializing V8 with command line options, 51 v8::Handle<v8::Context> CreateShellContext(v8::Isolate* isolate); 52 void RunShell(v8::Handle<v8::Context> context); 53 int RunMain(v8::Isolate* isolate, int argc, char* argv[]) [all...] |
/external/chromium_org/content/public/renderer/ |
v8_value_converter.h | 10 #include "v8/include/v8.h" 18 // Converts between v8::Value (JavaScript values in the v8 heap) and Chrome's 32 v8::Handle<v8::Value>, v8::Isolate* isolate)> FromV8ValueCallback; 40 virtual bool FromV8Object(v8::Handle<v8::Object> value, 42 v8::Isolate* isolate [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/modules/ |
V8TestInterface5.h | 11 #include "bindings/core/v8/ScriptWrappable.h" 12 #include "bindings/core/v8/V8Binding.h" 13 #include "bindings/core/v8/V8DOMWrapper.h" 14 #include "bindings/core/v8/V8TestInterfaceEmpty.h" 15 #include "bindings/core/v8/WrapperTypeInfo.h" 23 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); 24 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*) [all...] |
/external/chromium_org/extensions/renderer/ |
logging_native_handler.h | 24 void Check(const v8::FunctionCallbackInfo<v8::Value>& args); 29 void Dcheck(const v8::FunctionCallbackInfo<v8::Value>& args); 34 void DcheckIsOn(const v8::FunctionCallbackInfo<v8::Value>& args); 39 void Log(const v8::FunctionCallbackInfo<v8::Value>& args); 44 void Warning(const v8::FunctionCallbackInfo<v8::Value>& args) [all...] |
binding_generating_native_handler.cc | 17 v8::Handle<v8::Object> BindingGeneratingNativeHandler::NewInstance() { 18 v8::Isolate* isolate = module_system_->GetIsolate(); 19 v8::EscapableHandleScope scope(isolate); 20 v8::Handle<v8::Object> binding_module = 22 v8::Handle<v8::Object> binding = 23 binding_module->Get(v8::String::NewFromUtf8(isolate, "Binding")) 25 v8::Handle<v8::Function> create_binding [all...] |
activity_log_converter_strategy.cc | 9 #include "v8/include/v8.h" 15 // Summarize a V8 value. This performs a shallow conversion in all cases, and 18 scoped_ptr<base::Value> SummarizeV8Value(v8::Isolate* isolate, 19 v8::Handle<v8::Object> object) { 20 v8::TryCatch try_catch; 21 v8::Isolate::DisallowJavascriptExecutionScope scope( 22 isolate, v8::Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE); 23 v8::Local<v8::String> name = v8::String::NewFromUtf8(isolate, "[") [all...] |
v8_schema_registry.h | 15 #include "v8/include/v8-util.h" 16 #include "v8/include/v8.h" 21 // A registry for the v8::Value representations of extension API schemas. 22 // In a way, the v8 counterpart to ExtensionAPI. 31 // Returns a v8::Array with all the schemas for the APIs in |apis|. 32 v8::Handle<v8::Array> GetSchemas(const std::vector<std::string>& apis); 34 // Returns a v8::Object for the schema for |api|, possibly from the cache [all...] |
/external/chromium_org/gin/ |
dictionary.cc | 9 Dictionary::Dictionary(v8::Isolate* isolate) 13 Dictionary::Dictionary(v8::Isolate* isolate, 14 v8::Handle<v8::Object> object) 22 Dictionary Dictionary::CreateEmpty(v8::Isolate* isolate) { 24 dictionary.object_ = v8::Object::New(isolate); 28 v8::Handle<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate, 33 bool Converter<Dictionary>::FromV8(v8::Isolate* isolate [all...] |
runner.h | 13 #include "v8/include/v8.h" 17 // Runner is responsible for running code in a v8::Context. 27 virtual v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function, 28 v8::Handle<v8::Value> receiver, 30 v8::Handle<v8::Value> argv[]) = 0 [all...] |
function_template.cc | 11 CallbackHolderBase::CallbackHolderBase(v8::Isolate* isolate) 12 : v8_ref_(isolate, v8::External::New(isolate, this)) { 20 v8::Handle<v8::External> CallbackHolderBase::GetHandle(v8::Isolate* isolate) { 21 return v8::Local<v8::External>::New(isolate, v8_ref_); 26 const v8::WeakCallbackData<v8::External, CallbackHolderBase>& data) {
|
interceptor.cc | 13 NamedPropertyInterceptor::NamedPropertyInterceptor(v8::Isolate* isolate, 23 v8::Local<v8::Value> NamedPropertyInterceptor::GetNamedProperty( 24 v8::Isolate* isolate, 26 return v8::Local<v8::Value>(); 29 bool NamedPropertyInterceptor::SetNamedProperty(v8::Isolate* isolate, 31 v8::Local<v8::Value> value) { 36 v8::Isolate* isolate) [all...] |
wrappable.h | 17 GIN_EXPORT void* FromV8Impl(v8::Isolate* isolate, 18 v8::Handle<v8::Value> val, 24 // Wrappable is a base class for C++ objects that have corresponding v8 wrapper 35 // v8::Isolate* isolate); 43 // v8::Isolate* isolate) { 65 virtual ObjectTemplateBuilder GetObjectTemplateBuilder(v8::Isolate* isolate); 67 v8::Handle<v8::Object> GetWrapperImpl(v8::Isolate* isolate [all...] |
/external/chromium_org/v8/test/cctest/ |
test-thread-termination.cc | 1 // Copyright 2009 the V8 project authors. All rights reserved. 28 #include "src/v8.h" 34 v8::base::Semaphore* semaphore = NULL; 37 void Signal(const v8::FunctionCallbackInfo<v8::Value>& args) { 42 void TerminateCurrentThread(const v8::FunctionCallbackInfo<v8::Value>& args) { 43 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate())); 44 v8::V8::TerminateExecution(args.GetIsolate()) [all...] |
test-global-object.cc | 1 // Copyright 2013 the V8 project authors. All rights reserved. 28 #include "src/v8.h" 32 using namespace v8; 38 v8::Local<v8::String> var_name = v8_str("x"); 40 v8::TryCatch try_catch; 41 v8::Local<v8::Script> script = v8_compile("\"use strict\"; x = 42;"); 42 v8::Handle<v8::Object> proto = v8::Object::New(CcTest::isolate()) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
V8SVGTestInterface.cpp | 10 #include "bindings/core/v8/ExceptionState.h" 11 #include "bindings/core/v8/V8DOMConfiguration.h" 12 #include "bindings/core/v8/V8HiddenValue.h" 13 #include "bindings/core/v8/V8ObjectConstructor.h" 29 // bindings/core/v8/ScriptWrappable.h. 36 static void typeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) 38 v8::Handle<v8::Object> holder = info.Holder(); 43 static void typeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info [all...] |