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/V8TestInterfaceDocument.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 "V8TestInterfaceDocument.h" 8 #include "V8TestInterfaceDocument.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 21 matching lines...) Expand all
32 32
33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceDocument* object) 33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceDocument* 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 V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::refObject , V8TestInterfaceDocument::derefObject, V8TestInterfaceDocument::createPersisten tHandle, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument:: installConditionallyEnabledMethods, V8TestInterfaceDocument::installConditionall yEnabledProperties, &V8Document::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeOb jectPrototype, WrapperTypeInfo::NodeClassId, WrapperTypeInfo::Dependent, Wrapper TypeInfo::WillBeGarbageCollectedObject }; 40 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::refObject , V8TestInterfaceDocument::derefObject, V8TestInterfaceDocument::createPersisten tHandle, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument:: installConditionallyEnabledMethods, V8TestInterfaceDocument::installConditionall yEnabledProperties, &V8Document::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeOb jectPrototype, WrapperTypeInfo::NodeClassId, WrapperTypeInfo::Dependent, Wrapper TypeInfo::WillBeGarbageCollectedObject };
41 41
42 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eDocument.h.
43 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
44 // bindings/core/v8/ScriptWrappable.h.
45 const WrapperTypeInfo& TestInterfaceDocument::s_wrapperTypeInfo = V8TestInterfac eDocument::wrapperTypeInfo;
46
42 namespace TestInterfaceDocumentV8Internal { 47 namespace TestInterfaceDocumentV8Internal {
43 48
44 template <typename T> void V8_USE(T) { } 49 template <typename T> void V8_USE(T) { }
45 50
46 } // namespace TestInterfaceDocumentV8Internal 51 } // namespace TestInterfaceDocumentV8Internal
47 52
48 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate) 53 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate)
49 { 54 {
50 functionTemplate->ReadOnlyPrototype(); 55 functionTemplate->ReadOnlyPrototype();
51 56
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 #endif 157 #endif
153 } 158 }
154 159
155 template<> 160 template<>
156 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate) 161 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate)
157 { 162 {
158 return toV8(impl, creationContext, isolate); 163 return toV8(impl, creationContext, isolate);
159 } 164 }
160 165
161 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceDocument.h ('k') | Source/bindings/tests/results/V8TestInterfaceEmpty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698