OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestInterface3.h" | 8 #include "V8TestInterface3.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) | 82 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) |
83 { | 83 { |
84 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); | 84 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); |
85 V8TestInterface3::namedPropertyEnumeratorCustom(info); | 85 V8TestInterface3::namedPropertyEnumeratorCustom(info); |
86 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 86 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
87 } | 87 } |
88 | 88 |
89 } // namespace TestInterface3V8Internal | 89 } // namespace TestInterface3V8Internal |
90 | 90 |
91 static void installV8TestInterface3Template(v8::Handle<v8::FunctionTemplate> fun
ctionTemplate, v8::Isolate* isolate) | 91 static void installV8TestInterface3Template(v8::Local<v8::FunctionTemplate> func
tionTemplate, v8::Isolate* isolate) |
92 { | 92 { |
93 functionTemplate->ReadOnlyPrototype(); | 93 functionTemplate->ReadOnlyPrototype(); |
94 | 94 |
95 v8::Local<v8::Signature> defaultSignature; | 95 v8::Local<v8::Signature> defaultSignature; |
96 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa
ce3::internalFieldCount, | 96 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa
ce3::internalFieldCount, |
97 0, 0, | 97 0, 0, |
98 0, 0, | 98 0, 0, |
99 0, 0); | 99 0, 0); |
100 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 100 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
101 ALLOW_UNUSED_LOCAL(instanceTemplate); | 101 ALLOW_UNUSED_LOCAL(instanceTemplate); |
(...skipping 30 matching lines...) Expand all Loading... |
132 { | 132 { |
133 scriptWrappable->toImpl<TestInterface3>()->ref(); | 133 scriptWrappable->toImpl<TestInterface3>()->ref(); |
134 } | 134 } |
135 | 135 |
136 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) | 136 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) |
137 { | 137 { |
138 scriptWrappable->toImpl<TestInterface3>()->deref(); | 138 scriptWrappable->toImpl<TestInterface3>()->deref(); |
139 } | 139 } |
140 | 140 |
141 } // namespace blink | 141 } // namespace blink |
OLD | NEW |