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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceConstructor2.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 "V8TestInterfaceConstructor2.h" 8 #include "V8TestInterfaceConstructor2.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 21 matching lines...) Expand all
32 32
33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo r2* object) 33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo r2* object)
34 { 34 {
35 blink::initializeScriptWrappableForInterface(object); 35 blink::initializeScriptWrappableForInterface(object);
36 } 36 }
37 37
38 namespace blink { 38 namespace blink {
39 39
40 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor 2::refObject, V8TestInterfaceConstructor2::derefObject, V8TestInterfaceConstruct or2::createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor2::installCondit ionallyEnabledMethods, V8TestInterfaceConstructor2::installConditionallyEnabledP roperties, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Obje ctClassId, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; 40 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor 2::refObject, V8TestInterfaceConstructor2::derefObject, V8TestInterfaceConstruct or2::createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor2::installCondit ionallyEnabledMethods, V8TestInterfaceConstructor2::installConditionallyEnabledP roperties, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Obje ctClassId, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject };
41 41
42 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eConstructor2.h.
43 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
44 // bindings/core/v8/ScriptWrappable.h.
45 const WrapperTypeInfo& TestInterfaceConstructor2::s_wrapperTypeInfo = V8TestInte rfaceConstructor2::wrapperTypeInfo;
46
42 namespace TestInterfaceConstructor2V8Internal { 47 namespace TestInterfaceConstructor2V8Internal {
43 48
44 template <typename T> void V8_USE(T) { } 49 template <typename T> void V8_USE(T) { }
45 50
46 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) 51 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info)
47 { 52 {
48 V8StringResource<> stringArg; 53 V8StringResource<> stringArg;
49 { 54 {
50 TOSTRING_VOID_INTERNAL(stringArg, info[0]); 55 TOSTRING_VOID_INTERNAL(stringArg, info[0]);
51 } 56 }
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 return 0; 271 return 0;
267 } 272 }
268 273
269 template<> 274 template<>
270 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 275 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
271 { 276 {
272 return toV8(impl, creationContext, isolate); 277 return toV8(impl, creationContext, isolate);
273 } 278 }
274 279
275 } // namespace blink 280 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698