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

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

Issue 2045453002: Refactor WrapperTypeInfo.traceWrappers to WrapperTypeInfo.getHeader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use nicer name Created 4 years, 6 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "V8TestInterface5.h" 7 #include "V8TestInterface5.h"
8 8
9 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
(...skipping 11 matching lines...) Expand all
22 #include "wtf/RefPtr.h" 22 #include "wtf/RefPtr.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial 26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial
27 // and does not depend on another global objects. 27 // and does not depend on another global objects.
28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
29 #pragma clang diagnostic push 29 #pragma clang diagnostic push
30 #pragma clang diagnostic ignored "-Wglobal-constructors" 30 #pragma clang diagnostic ignored "-Wglobal-constructors"
31 #endif 31 #endif
32 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::trace Wrappers, V8TestInterface5::toActiveScriptWrappable, V8TestInterface5::visitDOMW rapper, V8TestInterface5::preparePrototypeAndInterfaceObject, nullptr, "TestInte rface5", &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObj ectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEve ntTarget, WrapperTypeInfo::Dependent }; 32 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterface5::domTemplate, V8TestInterface5::getHeapObjectHeader, V8TestInt erface5::trace, V8TestInterface5::toActiveScriptWrappable, V8TestInterface5::vis itDOMWrapper, V8TestInterface5::preparePrototypeAndInterfaceObject, nullptr, "Te stInterface5", &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo::WrapperT ypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritF romEventTarget, WrapperTypeInfo::Dependent };
33 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 33 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
34 #pragma clang diagnostic pop 34 #pragma clang diagnostic pop
35 #endif 35 #endif
36 36
37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac e5Implementation.h. 37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac e5Implementation.h.
38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
39 // bindings/core/v8/ScriptWrappable.h. 39 // bindings/core/v8/ScriptWrappable.h.
40 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI nterface5::wrapperTypeInfo; 40 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI nterface5::wrapperTypeInfo;
41 41
42 namespace TestInterface5ImplementationV8Internal { 42 namespace TestInterface5ImplementationV8Internal {
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration); 922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration);
923 } 923 }
924 } 924 }
925 925
926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O bject> wrapper) 926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O bject> wrapper)
927 { 927 {
928 return toImpl(wrapper); 928 return toImpl(wrapper);
929 } 929 }
930 930
931 } // namespace blink 931 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698