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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 void webCoreInitializeScriptWrappableForInterface(blink::TestSpecialOperationsNo
tEnumerable* object) | 30 void webCoreInitializeScriptWrappableForInterface(blink::TestSpecialOperationsNo
tEnumerable* object) |
31 { | 31 { |
32 blink::initializeScriptWrappableForInterface(object); | 32 blink::initializeScriptWrappableForInterface(object); |
33 } | 33 } |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 const WrapperTypeInfo V8TestSpecialOperationsNotEnumerable::wrapperTypeInfo = {
gin::kEmbedderBlink, V8TestSpecialOperationsNotEnumerable::domTemplate, V8TestSp
ecialOperationsNotEnumerable::refObject, V8TestSpecialOperationsNotEnumerable::d
erefObject, V8TestSpecialOperationsNotEnumerable::createPersistentHandle, 0, 0,
0, V8TestSpecialOperationsNotEnumerable::installConditionallyEnabledMethods, V8T
estSpecialOperationsNotEnumerable::installConditionallyEnabledProperties, 0, Wra
pperTypeObjectPrototype, RefCountedObject }; | 37 const WrapperTypeInfo V8TestSpecialOperationsNotEnumerable::wrapperTypeInfo = {
gin::kEmbedderBlink, V8TestSpecialOperationsNotEnumerable::domTemplate, V8TestSp
ecialOperationsNotEnumerable::refObject, V8TestSpecialOperationsNotEnumerable::d
erefObject, V8TestSpecialOperationsNotEnumerable::createPersistentHandle, 0, 0,
0, V8TestSpecialOperationsNotEnumerable::installConditionallyEnabledMethods, V8T
estSpecialOperationsNotEnumerable::installConditionallyEnabledProperties, 0, Wra
pperTypeObjectPrototype, RefCountedObject }; |
38 | 38 |
| 39 // The definition of TestSpecialOperationsNotEnumerable's WrapperTypeInfo. If Te
stSpecialOperationsNotEnumerable inherits |
| 40 // from ScriptWrappable, you have to write DEFINE_WRAPPERTYPEINFO macro in the |
| 41 // class definition. Otherwise, you have to write NotScriptWrappable in the IDL |
| 42 // file as an extended attribute in order to let IDL compiler know that |
| 43 // TestSpecialOperationsNotEnumerable doesn't inherit from ScriptWrappable. Note
that |
| 44 // NotScriptWrappable is inheritable. |
| 45 const WrapperTypeInfo& TestSpecialOperationsNotEnumerable::s_wrapperTypeInfo = V
8TestSpecialOperationsNotEnumerable::wrapperTypeInfo; |
| 46 |
39 namespace TestSpecialOperationsNotEnumerableV8Internal { | 47 namespace TestSpecialOperationsNotEnumerableV8Internal { |
40 | 48 |
41 template <typename T> void V8_USE(T) { } | 49 template <typename T> void V8_USE(T) { } |
42 | 50 |
43 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
<v8::Value>& info) | 51 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
<v8::Value>& info) |
44 { | 52 { |
45 TestSpecialOperationsNotEnumerable* impl = V8TestSpecialOperationsNotEnumera
ble::toNative(info.Holder()); | 53 TestSpecialOperationsNotEnumerable* impl = V8TestSpecialOperationsNotEnumera
ble::toNative(info.Holder()); |
46 String result = impl->anonymousIndexedGetter(index); | 54 String result = impl->anonymousIndexedGetter(index); |
47 if (result.isNull()) | 55 if (result.isNull()) |
48 return; | 56 return; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return 0; | 169 return 0; |
162 } | 170 } |
163 | 171 |
164 template<> | 172 template<> |
165 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8:
:Handle<v8::Object> creationContext, v8::Isolate* isolate) | 173 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8:
:Handle<v8::Object> creationContext, v8::Isolate* isolate) |
166 { | 174 { |
167 return toV8(impl, creationContext, isolate); | 175 return toV8(impl, creationContext, isolate); |
168 } | 176 } |
169 | 177 |
170 } // namespace blink | 178 } // namespace blink |
OLD | NEW |