HomeSort by relevance Sort by last modified time
    Searched refs:v8 (Results 251 - 275 of 2722) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8DOMWrapper.h 34 #include "bindings/core/v8/DOMDataStore.h"
35 #include "bindings/core/v8/ScriptWrappable.h"
39 #include <v8.h>
48 static v8::Local<v8::Object> createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo*, ScriptWrappableBase* internalPointer, v8::Isolate*);
51 static v8::Handle<v8::Object> associateObjectWithWrapper(PassRefPtr<T>, const WrapperTypeInfo*, v8::Handle<v8::Object>, (…)
    [all...]
V8NodeFilterCondition.cpp 32 #include "bindings/core/v8/V8NodeFilterCondition.h"
34 #include "bindings/core/v8/ScriptController.h"
35 #include "bindings/core/v8/V8HiddenValue.h"
36 #include "bindings/core/v8/V8Node.h"
43 V8NodeFilterCondition::V8NodeFilterCondition(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, ScriptState* scriptState)
62 v8::Isolate* isolate = m_scriptState->isolate();
64 v8::HandleScope handleScope(isolate)
    [all...]
V8ValueCache.cpp 27 #include "bindings/core/v8/V8ValueCache.h"
29 #include "bindings/core/v8/V8Binding.h"
35 const v8::WeakCallbackData<v8::String, WeakCallbackDataType>& data)
42 v8::Isolate* isolate, v8::UniquePersistent<v8::String> value, StringImpl* key)
57 static v8::Local<v8::String> makeExternalString(const String& string, v8::Isolate* isolate
    [all...]
WrapperTypeInfo.h 37 #include <v8.h>
52 typedef v8::Handle<v8::FunctionTemplate> (*DomTemplateFunction)(v8::Isolate*);
56 typedef ActiveDOMObject* (*ToActiveDOMObjectFunction)(v8::Handle<v8::Object>);
57 typedef EventTarget* (*ToEventTargetFunction)(v8::Handle<v8::Object>);
58 typedef void (*ResolveWrapperReachabilityFunction)(ScriptWrappableBase* internalPointer, const v8::Persistent<v8::Object>&, v8::Isolate*)
    [all...]
ScriptWrappable.h 34 #include "bindings/core/v8/WrapperTypeInfo.h"
37 #include <v8.h>
67 // Since v8::Object::SetAlignedPointerInInternalField requires the pointers to
92 void assertWrapperSanity(v8::Local<v8::Object> object)
100 * ScriptWrappable wraps a V8 object and its WrapperTypeInfo.
102 * ScriptWrappable acts much like a v8::Persistent<> in that it keeps a
103 * V8 object alive.
107 * - setWrapper: install a v8::Persistent (or empty)
108 * - disposeWrapper (via setWeakCallback, triggered by V8 garbage collecter)
    [all...]
ScriptValue.h 34 #include "bindings/core/v8/ScriptState.h"
35 #include "bindings/core/v8/SharedPersistent.h"
39 #include <v8.h>
49 ScriptValue(ScriptState* scriptState, v8::Handle<v8::Value> value)
51 , m_value(value.IsEmpty() ? nullptr : SharedPersistent<v8::Value>::create(value, scriptState->isolate()))
68 v8::Isolate* isolate() const
70 return m_scriptState ? m_scriptState->isolate() : v8::Isolate::GetCurrent();
100 v8::Handle<v8::Value> value = v8Value()
    [all...]
V8CustomElementLifecycleCallbacks.cpp 32 #include "bindings/core/v8/V8CustomElementLifecycleCallbacks.h"
34 #include "bindings/core/v8/CustomElementBinding.h"
35 #include "bindings/core/v8/DOMDataStore.h"
36 #include "bindings/core/v8/ScriptController.h"
37 #include "bindings/core/v8/V8Binding.h"
38 #include "bindings/core/v8/V8Element.h"
39 #include "bindings/core/v8/V8HiddenValue.h"
40 #include "bindings/core/v8/V8PerContextData.h"
53 PassRefPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecycleCallbacks::create(ScriptState* scriptState, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attached, v8::Handl (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/
GCObservation.cpp 36 static void setWeakCallbackForGCObservation(const v8::WeakCallbackData<v8::Value, GCObservation>& data)
48 GCObservation::GCObservation(v8::Handle<v8::Value> observedValue)
49 : m_observed(v8::Isolate::GetCurrent(), observedValue)
  /external/chromium_org/gin/modules/
module_registry.h 19 #include "v8/include/v8.h"
39 typedef base::Callback<void (v8::Handle<v8::Value>)> LoadModuleCallback;
43 static ModuleRegistry* From(v8::Handle<v8::Context> context);
45 static void RegisterGlobals(v8::Isolate* isolate,
46 v8::Handle<v8::ObjectTemplate> templ);
50 static void InstallGlobals(v8::Isolate* isolate, v8::Handle<v8::Object> obj)
    [all...]
  /external/chromium_org/chrome/renderer/
loadtimes_extension_bindings.cc 13 #include "v8/include/v8.h"
28 static const char* const kLoadTimesExtensionName = "v8/LoadTimes";
30 class LoadTimesExtensionWrapper : public v8::Extension {
42 v8::Extension(kLoadTimesExtensionName,
55 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate(
56 v8::Isolate* isolate,
57 v8::Handle<v8::String> name) OVERRIDE
    [all...]
  /external/chromium_org/content/renderer/pepper/
pepper_try_catch.h 13 #include "v8/include/v8.h"
31 virtual v8::Handle<v8::Context> GetContext() = 0;
33 // Convenience functions for doing conversions to/from V8 values and sets an
35 v8::Handle<v8::Value> ToV8(PP_Var var);
36 ppapi::ScopedPPVar FromV8(v8::Handle<v8::Value> v8_value);
54 // Catches var exceptions and emits a v8 exception
    [all...]
  /external/chromium_org/extensions/renderer/
user_gestures_native_handler.cc 28 const v8::FunctionCallbackInfo<v8::Value>& args) {
29 args.GetReturnValue().Set(v8::Boolean::New(
35 const v8::FunctionCallbackInfo<v8::Value>& args) {
39 v8::Handle<v8::Value> no_args;
40 context()->CallFunction(v8::Handle<v8::Function>::Cast(args[0]), 0, &no_args);
44 const v8::FunctionCallbackInfo<v8::Value>& args)
    [all...]
object_backed_native_handler.cc 12 #include "v8/include/v8.h"
25 v8::ObjectTemplate::New(context->v8_context()->GetIsolate())) {}
29 v8::Handle<v8::Object> ObjectBackedNativeHandler::NewInstance() {
30 return object_template_.NewHandle(v8::Isolate::GetCurrent())->NewInstance();
35 const v8::FunctionCallbackInfo<v8::Value>& args) {
36 v8::HandleScope handle_scope(args.GetIsolate());
37 v8::Handle<v8::Object> data = args.Data().As<v8::Object>()
    [all...]
  /external/chromium_org/gin/
handle.h 14 // in the C++ heap because strong references from C++ to V8 can cause memory
21 Handle(v8::Handle<v8::Value> wrapper, T* object)
34 v8::Handle<v8::Value> ToV8() const { return wrapper_; }
38 v8::Handle<v8::Value> wrapper_;
44 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate
    [all...]
object_template_builder.cc 15 WrappableBase* WrappableFromV8(v8::Isolate* isolate,
16 v8::Handle<v8::Value> val) {
19 v8::Handle<v8::Object> obj = v8::Handle<v8::Object>::Cast(val);
33 NamedPropertyInterceptor* NamedInterceptorFromV8(v8::Isolate* isolate,
34 v8::Handle<v8::Value> val)
    [all...]
object_template_builder.h 15 #include "v8/include/v8.h"
26 static v8::Handle<v8::FunctionTemplate> CreateTemplate(v8::Isolate* isolate,
30 static void SetAsFunctionHandler(v8::Isolate* isolate,
31 v8::Local<v8::ObjectTemplate> tmpl,
40 static v8::Handle<v8::FunctionTemplate> CreateTemplate
    [all...]
shell_runner.cc 13 using v8::Context;
14 using v8::HandleScope;
15 using v8::Isolate;
16 using v8::Object;
17 using v8::ObjectTemplate;
18 using v8::Script;
28 v8::Handle<ObjectTemplate> ShellRunnerDelegate::GetGlobalTemplate(
30 v8::Isolate* isolate) {
31 return v8::Handle<ObjectTemplate>();
50 v8::Isolate::Scope isolate_scope(isolate)
    [all...]
per_isolate_data.h 14 #include "v8/include/v8.h"
26 // There is one instance of PerIsolateData per v8::Isolate managed by Gin. This
30 PerIsolateData(v8::Isolate* isolate, v8::ArrayBuffer::Allocator* allocator);
33 static PerIsolateData* From(v8::Isolate* isolate);
35 // Each isolate is associated with a collection of v8::ObjectTemplates and
36 // v8::FunctionTemplates. Typically these template objects are created
39 v8::Local<v8::ObjectTemplate> object_template)
    [all...]
wrappable.cc 21 v8::Isolate* isolate) {
26 const v8::WeakCallbackData<v8::Object, WrappableBase>& data) {
32 v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate,
35 return v8::Local<v8::Object>::New(isolate, wrapper_);
39 v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate(info)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
V8TestInterface3.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/V8Node.h"
14 #include "bindings/core/v8/V8ObjectConstructor.h"
28 // bindings/core/v8/ScriptWrappable.h.
35 static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
39 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
42 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info
    [all...]
V8TestInterfaceConstructor3.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"
28 // bindings/core/v8/ScriptWrappable.h.
35 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
46 v8::Handle<v8::Object> wrapper = info.Holder();
53 void V8TestInterfaceConstructor3::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info
    [all...]
V8TestObject.h 10 #include "bindings/core/v8/ScriptWrappable.h"
11 #include "bindings/core/v8/V8Binding.h"
12 #include "bindings/core/v8/V8DOMWrapper.h"
13 #include "bindings/core/v8/WrapperTypeInfo.h"
43 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
44 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*)
    [all...]
V8TestInterfaceWillBeGarbageCollected.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"
14 #include "bindings/core/v8/V8TestInterfaceWillBeGarbageCollected.h"
29 // bindings/core/v8/ScriptWrappable.h.
36 static void attr1AttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
38 v8::Handle<v8::Object> holder = info.Holder()
    [all...]
  /external/chromium_org/third_party/WebKit/public/web/
WebDOMFileSystem.h 44 namespace v8 { namespace
76 BLINK_EXPORT static WebDOMFileSystem fromV8Value(v8::Handle<v8::Value>);
78 BLINK_EXPORT static WebURL createFileSystemURL(v8::Handle<v8::Value> entry);
96 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate*)
    [all...]
  /external/chromium_org/v8/test/cctest/
test-weaktypedarrays.cc 1 // Copyright 2013 the V8 project authors. All rights reserved.
30 #include "src/v8.h"
37 using namespace v8::internal;
88 v8::V8::Initialize();
94 v8::HandleScope s1(context->GetIsolate());
95 v8::Handle<v8::ArrayBuffer> ab1 =
96 v8::ArrayBuffer::New(context->GetIsolate(), 256);
98 v8::HandleScope s2(context->GetIsolate())
    [all...]

Completed in 1043 milliseconds

<<11121314151617181920>>