Home
last modified time | relevance | path

Searched refs:gin (Results 1 – 25 of 221) sorted by relevance

123456789

/external/chromium_org/mojo/bindings/js/
Dcore.cc26 MojoResult CloseHandle(gin::Handle<gin::HandleWrapper> handle) { in CloseHandle()
46 gin::Dictionary CreateMessagePipe(const gin::Arguments& args) { in CreateMessagePipe()
53 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in CreateMessagePipe()
61 const gin::ArrayBufferView& buffer, in WriteMessage()
62 const std::vector<gin::Handle<gin::HandleWrapper> >& handles, in WriteMessage()
82 gin::Dictionary ReadMessage(const gin::Arguments& args, in ReadMessage()
90 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in ReadMessage()
99 gin::ArrayBuffer buffer; in ReadMessage()
114 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in ReadMessage()
121 gin::Dictionary CreateDataPipe(const gin::Arguments& args, in CreateDataPipe()
[all …]
Dhandle.h13 namespace gin {
17 class HandleWrapper : public gin::Wrappable<HandleWrapper> {
19 static gin::WrapperInfo kWrapperInfo;
21 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate, in Create()
23 return gin::CreateHandle(isolate, new HandleWrapper(handle)); in Create()
51 struct Converter<gin::Handle<gin::HandleWrapper> > {
53 v8::Isolate* isolate, const gin::Handle<gin::HandleWrapper>& val) {
58 gin::Handle<gin::HandleWrapper>* out) {
64 gin::HandleWrapper* object = NULL;
65 if (!Converter<gin::HandleWrapper*>::FromV8(isolate, val, &object)) {
[all …]
Dwaiting_callback.cc16 return gin::StringToSymbol(isolate, "::mojo::js::WaitingCallback"); in GetHiddenPropertyName()
21 gin::WrapperInfo WaitingCallback::kWrapperInfo = { gin::kEmbedderNativeGin };
24 gin::Handle<WaitingCallback> WaitingCallback::Create( in Create()
29 gin::Handle<WaitingCallback> waiting_callback = in Create()
30 gin::CreateHandle(isolate, new WaitingCallback(isolate, callback)); in Create()
52 runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr(); in WaitingCallback()
71 gin::Runner::Scope scope(runner_.get()); in OnHandleReady()
77 CHECK(gin::ConvertFromV8(isolate, hidden_value, &callback)); in OnHandleReady()
79 v8::Handle<v8::Value> args[] = { gin::ConvertToV8(isolate, result) }; in OnHandleReady()
/external/chromium_org/gin/
Dgin.target.linux-arm64.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.darwin-arm64.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.darwin-x86_64.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.darwin-x86.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.linux-x86_64.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.linux-x86.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.darwin-mips.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.linux-mips.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.linux-arm.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dgin.target.darwin-arm.mk28 gin/arguments.cc \
29 gin/array_buffer.cc \
30 gin/context_holder.cc \
31 gin/converter.cc \
32 gin/dictionary.cc \
33 gin/function_template.cc \
34 gin/interceptor.cc \
35 gin/isolate_holder.cc \
36 gin/modules/console.cc \
37 gin/modules/file_module_provider.cc \
[all …]
Dhandle.h10 namespace gin {
43 struct Converter<gin::Handle<T> > {
45 const gin::Handle<T>& val) {
49 gin::Handle<T>* out) {
54 *out = gin::Handle<T>(val, object);
62 gin::Handle<T> CreateHandle(v8::Isolate* isolate, T* object) {
65 return gin::Handle<T>();
66 return gin::Handle<T>(wrapper, object);
/external/chromium_org/content/renderer/
Dweb_ui_mojo_context_state.cc38 void RunMain(base::WeakPtr<gin::Runner> runner, in RunMain()
43 CHECK(gin::ConvertFromV8(isolate, module, &start)); in RunMain()
45 gin::ConvertToV8(isolate, mojo::Handle(handle->release().value())) }; in RunMain()
57 gin::PerContextData* context_data = gin::PerContextData::From(context); in WebUIMojoContextState()
58 gin::ContextHolder* context_holder = context_data->context_holder(); in WebUIMojoContextState()
60 gin::Runner::Scope scoper(runner_.get()); in WebUIMojoContextState()
61 gin::ModuleRegistry::From(context)->AddObserver(this); in WebUIMojoContextState()
63 gin::ModuleRegistry::InstallGlobals(context->GetIsolate(), context->Global()); in WebUIMojoContextState()
69 gin::Runner::Scope scoper(runner_.get()); in ~WebUIMojoContextState()
70 gin::ModuleRegistry::From( in ~WebUIMojoContextState()
[all …]
Dskia_benchmarking_extension.h15 namespace gin {
21 class SkiaBenchmarking : public gin::Wrappable<SkiaBenchmarking> {
23 static gin::WrapperInfo kWrapperInfo;
34 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
53 void Rasterize(gin::Arguments* args);
59 void GetOps(gin::Arguments* args);
65 void GetOpTimings(gin::Arguments* args);
71 void GetInfo(gin::Arguments* args);
Dmemory_benchmarking_extension.cc21 gin::WrapperInfo MemoryBenchmarkingExtension::kWrapperInfo = {
22 gin::kEmbedderNativeGin};
33 gin::Handle<MemoryBenchmarkingExtension> controller = in Install()
34 gin::CreateHandle(isolate, new MemoryBenchmarkingExtension()); in Install()
40 global->Get(gin::StringToV8(isolate, "chrome"))->ToObject(); in Install()
43 global->Set(gin::StringToV8(isolate, "chrome"), chrome); in Install()
45 chrome->Set(gin::StringToV8(isolate, "memoryBenchmarking"), in Install()
53 gin::ObjectTemplateBuilder
55 return gin::Wrappable<MemoryBenchmarkingExtension>::GetObjectTemplateBuilder( in GetObjectTemplateBuilder()
71 void MemoryBenchmarkingExtension::HeapProfilerDump(gin::Arguments* args) { in HeapProfilerDump()
/external/chromium_org/mojo/apps/js/
Dmojo_runner_delegate.cc36 void StartCallback(base::WeakPtr<gin::Runner> runner, in StartCallback()
41 CHECK(gin::ConvertFromV8(isolate, module, &start)); in StartCallback()
44 gin::ConvertToV8(isolate, Handle(pipe)) }; in StartCallback()
52 AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule); in MojoRunnerDelegate()
53 AddBuiltinModule(gin::TimerModule::kName, gin::TimerModule::GetModule); in MojoRunnerDelegate()
64 void MojoRunnerDelegate::Start(gin::Runner* runner, in Start()
67 gin::Runner::Scope scope(runner); in Start()
68 gin::ModuleRegistry* registry = in Start()
69 gin::ModuleRegistry::From(runner->GetContextHolder()->context()); in Start()
75 void MojoRunnerDelegate::UnhandledException(gin::ShellRunner* runner, in UnhandledException()
[all …]
/external/chromium_org/content/shell/renderer/test_runner/
Devent_sender.h29 namespace gin {
127 void AddTouchPoint(gin::Arguments* args);
132 void GestureScrollBegin(gin::Arguments* args);
133 void GestureScrollEnd(gin::Arguments* args);
134 void GestureScrollUpdate(gin::Arguments* args);
135 void GestureScrollUpdateWithoutPropagation(gin::Arguments* args);
136 void GestureTap(gin::Arguments* args);
137 void GestureTapDown(gin::Arguments* args);
138 void GestureShowPress(gin::Arguments* args);
139 void GestureTapCancel(gin::Arguments* args);
[all …]
/external/chromium_org/content/shell/renderer/
Dgc_controller.cc16 gin::WrapperInfo GCController::kWrapperInfo = {gin::kEmbedderNativeGin};
28 gin::Handle<GCController> controller = in Install()
29 gin::CreateHandle(isolate, new GCController()); in Install()
33 global->Set(gin::StringToV8(isolate, "GCController"), controller.ToV8()); in Install()
40 gin::ObjectTemplateBuilder GCController::GetObjectTemplateBuilder( in GetObjectTemplateBuilder()
42 return gin::Wrappable<GCController>::GetObjectTemplateBuilder(isolate) in GetObjectTemplateBuilder()
48 void GCController::Collect(const gin::Arguments& args) { in Collect()
53 void GCController::CollectAll(const gin::Arguments& args) { in CollectAll()
67 void GCController::MinorCollect(const gin::Arguments& args) { in MinorCollect()
Dgc_controller.h15 namespace gin {
21 class GCController : public gin::Wrappable<GCController> {
23 static gin::WrapperInfo kWrapperInfo;
31 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
34 void Collect(const gin::Arguments& args);
35 void CollectAll(const gin::Arguments& args);
36 void MinorCollect(const gin::Arguments& args);
/external/chromium_org/mojo/apps/js/bindings/gl/
Dmodule.cc23 gin::WrapperInfo kWrapperInfo = { gin::kEmbedderNativeGin };
25 gin::Handle<Context> CreateContext( in CreateContext()
26 const gin::Arguments& args, in CreateContext()
35 gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); in GetModule()
39 templ = gin::ObjectTemplateBuilder(isolate) in GetModule()
Dcontext.h19 namespace gin {
29 class Context : public gin::Wrappable<Context> {
31 static gin::WrapperInfo kWrapperInfo;
34 static gin::Handle<Context> Create(
39 static void BufferData(GLenum target, const gin::ArrayBufferView& buffer,
41 static void CompileShader(const gin::Arguments& args, GLuint shader);
51 const gin::ArrayBufferView& buffer);
57 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
68 base::WeakPtr<gin::Runner> runner_;
/external/chromium_org/content/renderer/java/
Dgin_java_bridge_object.cc43 gin::Handle<GinJavaBridgeObject> controller = in InjectNamed()
44 gin::CreateHandle(isolate, object); in InjectNamed()
50 global->Set(gin::StringToV8(isolate, object_name), controller.ToV8()); in InjectNamed()
66 : gin::NamedPropertyInterceptor(isolate, this), in GinJavaBridgeObject()
77 gin::ObjectTemplateBuilder GinJavaBridgeObject::GetObjectTemplateBuilder( in GetObjectTemplateBuilder()
79 return gin::Wrappable<GinJavaBridgeObject>::GetObjectTemplateBuilder(isolate) in GetObjectTemplateBuilder()
95 return gin::CreateFunctionTemplate( in GetNamedProperty()
115 gin::Arguments* args) { in InvokeMethod()
117 args->isolate()->ThrowException(v8::Exception::Error(gin::StringToV8( in InvokeMethod()
141 args->isolate()->ThrowException(v8::Exception::Error(gin::StringToV8( in InvokeMethod()
[all …]
/external/chromium_org/athena/virtual_keyboard/
Dvirtual_keyboard_bindings_impl.cc36 namespace gin { namespace
83 class VKBindings : public gin::Wrappable<VKBindings> {
85 static gin::WrapperInfo kWrapperInfo;
100 global->Get(gin::StringToV8(isolate, "chrome"))->ToObject(); in Install()
103 gin::Handle<VKBindings> controller = in Install()
104 gin::CreateHandle(isolate, new VKBindings(render_view)); in Install()
107 chrome->Set(gin::StringToSymbol(isolate, "virtualKeyboardPrivate"), in Install()
128 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( in GetObjectTemplateBuilder()
130 return gin::Wrappable<VKBindings>::GetObjectTemplateBuilder(isolate) in GetObjectTemplateBuilder()
139 void SendKeyEvent(gin::Arguments* args) { in SendKeyEvent()
[all …]

123456789