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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface2Partial.cpp

Issue 2758893002: Slim V8DOMConfiguration structs for attributes and accessors. (Closed)
Patch Set: Created 3 years, 9 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
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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } // namespace TestInterface2PartialV8Internal 63 } // namespace TestInterface2PartialV8Internal
64 64
65 void V8TestInterface2Partial::voidMethodPartial1MethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info) { 65 void V8TestInterface2Partial::voidMethodPartial1MethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info) {
66 TestInterface2PartialV8Internal::voidMethodPartial1Method(info); 66 TestInterface2PartialV8Internal::voidMethodPartial1Method(info);
67 } 67 }
68 68
69 void V8TestInterface2Partial::voidMethodPartial2MethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info) { 69 void V8TestInterface2Partial::voidMethodPartial2MethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info) {
70 TestInterface2PartialV8Internal::voidMethodPartial2Method(info); 70 TestInterface2PartialV8Internal::voidMethodPartial2Method(info);
71 } 71 }
72 72
73 const V8DOMConfiguration::MethodConfiguration V8TestInterface2Methods[] = { 73 static const V8DOMConfiguration::MethodConfiguration V8TestInterface2Methods[] = {
74 {"voidMethodPartial2", V8TestInterface2Partial::voidMethodPartial2MethodCall back, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}, 74 {"voidMethodPartial2", V8TestInterface2Partial::voidMethodPartial2MethodCall back, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
75 }; 75 };
76 76
77 void V8TestInterface2Partial::installV8TestInterface2Template(v8::Isolate* isola te, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempl ate) { 77 void V8TestInterface2Partial::installV8TestInterface2Template(v8::Isolate* isola te, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempl ate) {
78 // Initialize the interface object's template. 78 // Initialize the interface object's template.
79 V8TestInterface2::installV8TestInterface2Template(isolate, world, interfaceTem plate); 79 V8TestInterface2::installV8TestInterface2Template(isolate, world, interfaceTem plate);
80 80
81 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 81 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
82 ALLOW_UNUSED_LOCAL(signature); 82 ALLOW_UNUSED_LOCAL(signature);
83 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate(); 83 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate();
(...skipping 15 matching lines...) Expand all
99 99
100 void V8TestInterface2Partial::initialize() { 100 void V8TestInterface2Partial::initialize() {
101 // Should be invoked from ModulesInitializer. 101 // Should be invoked from ModulesInitializer.
102 V8TestInterface2::updateWrapperTypeInfo( 102 V8TestInterface2::updateWrapperTypeInfo(
103 &V8TestInterface2Partial::installV8TestInterface2Template, 103 &V8TestInterface2Partial::installV8TestInterface2Template,
104 nullptr, 104 nullptr,
105 nullptr); 105 nullptr);
106 } 106 }
107 107
108 } // namespace blink 108 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698