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 "V8TestSpecialOperationsNotEnumerable.h" | 8 #include "V8TestSpecialOperationsNotEnumerable.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) | 66 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) |
67 { | 67 { |
68 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); | 68 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); |
69 TestSpecialOperationsNotEnumerableV8Internal::namedPropertyGetter(name, info
); | 69 TestSpecialOperationsNotEnumerableV8Internal::namedPropertyGetter(name, info
); |
70 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 70 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
71 } | 71 } |
72 | 72 |
73 } // namespace TestSpecialOperationsNotEnumerableV8Internal | 73 } // namespace TestSpecialOperationsNotEnumerableV8Internal |
74 | 74 |
75 static void installV8TestSpecialOperationsNotEnumerableTemplate(v8::Handle<v8::F
unctionTemplate> functionTemplate, v8::Isolate* isolate) | 75 static void installV8TestSpecialOperationsNotEnumerableTemplate(v8::Local<v8::Fu
nctionTemplate> functionTemplate, v8::Isolate* isolate) |
76 { | 76 { |
77 functionTemplate->ReadOnlyPrototype(); | 77 functionTemplate->ReadOnlyPrototype(); |
78 | 78 |
79 v8::Local<v8::Signature> defaultSignature; | 79 v8::Local<v8::Signature> defaultSignature; |
80 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperationsNotEnumerable", v8::Local<v8::FunctionTempla
te>(), V8TestSpecialOperationsNotEnumerable::internalFieldCount, | 80 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperationsNotEnumerable", v8::Local<v8::FunctionTempla
te>(), V8TestSpecialOperationsNotEnumerable::internalFieldCount, |
81 0, 0, | 81 0, 0, |
82 0, 0, | 82 0, 0, |
83 0, 0); | 83 0, 0); |
84 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 84 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
85 ALLOW_UNUSED_LOCAL(instanceTemplate); | 85 ALLOW_UNUSED_LOCAL(instanceTemplate); |
(...skipping 30 matching lines...) Expand all Loading... |
116 { | 116 { |
117 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); | 117 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); |
118 } | 118 } |
119 | 119 |
120 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr
appable) | 120 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr
appable) |
121 { | 121 { |
122 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); | 122 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); |
123 } | 123 } |
124 | 124 |
125 } // namespace blink | 125 } // namespace blink |
OLD | NEW |