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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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/interface.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #pragma clang diagnostic pop 52 #pragma clang diagnostic pop
53 #endif 53 #endif
54 54
55 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eImplementation.h. 55 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eImplementation.h.
56 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 56 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
57 // bindings/core/v8/ScriptWrappable.h. 57 // bindings/core/v8/ScriptWrappable.h.
58 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn terface::wrapperTypeInfo; 58 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn terface::wrapperTypeInfo;
59 59
60 // [ActiveScriptWrappable] 60 // [ActiveScriptWrappable]
61 static_assert( 61 static_assert(
62 std::is_base_of<ActiveScriptWrappable, TestInterfaceImplementation>::value, 62 std::is_base_of<ActiveScriptWrappableBase, TestInterfaceImplementation>::val ue,
63 "TestInterfaceImplementation does not inherit from ActiveScriptWrappable, bu t specifying " 63 "TestInterfaceImplementation does not inherit from ActiveScriptWrappable<>, but specifying "
64 "[ActiveScriptWrappable] extended attribute in the IDL file. " 64 "[ActiveScriptWrappable] extended attribute in the IDL file. "
65 "Be consistent."); 65 "Be consistent.");
66 static_assert( 66 static_assert(
67 !std::is_same<decltype(&TestInterfaceImplementation::hasPendingActivity), 67 !std::is_same<decltype(&TestInterfaceImplementation::hasPendingActivity),
68 decltype(&ScriptWrappable::hasPendingActivity)>::value, 68 decltype(&ScriptWrappable::hasPendingActivity)>::value,
69 "TestInterfaceImplementation is not overriding hasPendingActivity(), but is specifying " 69 "TestInterfaceImplementation is not overriding hasPendingActivity(), but is specifying "
70 "[ActiveScriptWrappable] extended attribute in the IDL file. " 70 "[ActiveScriptWrappable] extended attribute in the IDL file. "
71 "Be consistent."); 71 "Be consistent.");
72 72
73 namespace TestInterfaceImplementationV8Internal { 73 namespace TestInterfaceImplementationV8Internal {
(...skipping 2922 matching lines...) Expand 10 before | Expand all | Expand 10 after
2996 2996
2997 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&)) { 2997 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&)) {
2998 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter face = method; 2998 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter face = method;
2999 } 2999 }
3000 3000
3001 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { 3001 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) {
3002 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia lInterface = method; 3002 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia lInterface = method;
3003 } 3003 }
3004 3004
3005 } // namespace blink 3005 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698