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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface.cpp

Issue 725163002: bindings: Retires V8T::toEventTarget and reduces the binary size. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made bitfields be type of unsigned to support both of MSVC and Android. Created 6 years, 1 month 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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface.h" 9 #include "V8TestInterface.h"
10 10
(...skipping 21 matching lines...) Expand all
32 #include "core/dom/Document.h" 32 #include "core/dom/Document.h"
33 #include "core/frame/LocalFrame.h" 33 #include "core/frame/LocalFrame.h"
34 #include "platform/RuntimeEnabledFeatures.h" 34 #include "platform/RuntimeEnabledFeatures.h"
35 #include "platform/ScriptForbiddenScope.h" 35 #include "platform/ScriptForbiddenScope.h"
36 #include "platform/TraceEvent.h" 36 #include "platform/TraceEvent.h"
37 #include "wtf/GetPtr.h" 37 #include "wtf/GetPtr.h"
38 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8Test Interface::domTemplate, V8TestInterface::refObject, V8TestInterface::derefObject , V8TestInterface::trace, V8TestInterface::toActiveDOMObject, 0, V8TestInterface ::visitDOMWrapper, V8TestInterface::installConditionallyEnabledMethods, V8TestIn terface::installConditionallyEnabledProperties, &V8TestInterfaceEmpty::wrapperTy peInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClas sId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCountedObject }; 42 WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8Test Interface::domTemplate, V8TestInterface::refObject, V8TestInterface::derefObject , V8TestInterface::trace, V8TestInterface::toActiveDOMObject, V8TestInterface::v isitDOMWrapper, V8TestInterface::installConditionallyEnabledMethods, V8TestInter face::installConditionallyEnabledProperties, &V8TestInterfaceEmpty::wrapperTypeI nfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId , WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Dependent, Wrappe rTypeInfo::RefCountedObject };
43 43
44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eImplementation.h. 44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eImplementation.h.
45 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 45 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
46 // bindings/core/v8/ScriptWrappable.h. 46 // bindings/core/v8/ScriptWrappable.h.
47 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn terface::wrapperTypeInfo; 47 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn terface::wrapperTypeInfo;
48 48
49 namespace TestInterfaceImplementationV8Internal { 49 namespace TestInterfaceImplementationV8Internal {
50 static void (*voidMethodPartialOverloadMethodForPartialInterface)(const v8::Func tionCallbackInfo<v8::Value>&) = 0; 50 static void (*voidMethodPartialOverloadMethodForPartialInterface)(const v8::Func tionCallbackInfo<v8::Value>&) = 0;
51 static void (*staticVoidMethodPartialOverloadMethodForPartialInterface)(const v8 ::FunctionCallbackInfo<v8::Value>&) = 0; 51 static void (*staticVoidMethodPartialOverloadMethodForPartialInterface)(const v8 ::FunctionCallbackInfo<v8::Value>&) = 0;
52 static void (*promiseMethodPartialOverloadMethodForPartialInterface)(const v8::F unctionCallbackInfo<v8::Value>&) = 0; 52 static void (*promiseMethodPartialOverloadMethodForPartialInterface)(const v8::F unctionCallbackInfo<v8::Value>&) = 0;
(...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2188 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&)) 2188 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&))
2189 { 2189 {
2190 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt erface = method; 2190 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt erface = method;
2191 } 2191 }
2192 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) 2192 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&))
2193 { 2193 {
2194 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart ialInterface = method; 2194 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart ialInterface = method;
2195 } 2195 }
2196 } // namespace blink 2196 } // namespace blink
2197 #endif // ENABLE(CONDITION) 2197 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestException.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698