Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 pperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrappe rTypeInfo::Independent, WrapperTypeInfo::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 pperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrappe rTypeInfo::Independent, WrapperTypeInfo::RefCountedObject };
38 38
39 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO perationsNotEnumerable.h.
40 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
41 // bindings/core/v8/ScriptWrappable.h.
42 const WrapperTypeInfo& TestSpecialOperationsNotEnumerable::s_wrapperTypeInfo = V 8TestSpecialOperationsNotEnumerable::wrapperTypeInfo;
43
39 namespace TestSpecialOperationsNotEnumerableV8Internal { 44 namespace TestSpecialOperationsNotEnumerableV8Internal {
40 45
41 template <typename T> void V8_USE(T) { } 46 template <typename T> void V8_USE(T) { }
42 47
43 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info) 48 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info)
44 { 49 {
45 TestSpecialOperationsNotEnumerable* impl = V8TestSpecialOperationsNotEnumera ble::toNative(info.Holder()); 50 TestSpecialOperationsNotEnumerable* impl = V8TestSpecialOperationsNotEnumera ble::toNative(info.Holder());
46 String result = impl->anonymousIndexedGetter(index); 51 String result = impl->anonymousIndexedGetter(index);
47 if (result.isNull()) 52 if (result.isNull())
48 return; 53 return;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 return 0; 166 return 0;
162 } 167 }
163 168
164 template<> 169 template<>
165 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8: :Handle<v8::Object> creationContext, v8::Isolate* isolate) 170 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8: :Handle<v8::Object> creationContext, v8::Isolate* isolate)
166 { 171 {
167 return toV8(impl, creationContext, isolate); 172 return toV8(impl, creationContext, isolate);
168 } 173 }
169 174
170 } // namespace blink 175 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.h ('k') | Source/bindings/tests/results/V8TestTypedefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698