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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.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 30 matching lines...) Expand all
41 #pragma clang diagnostic pop 41 #pragma clang diagnostic pop
42 #endif 42 #endif
43 43
44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac e5Implementation.h. 44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac e5Implementation.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& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI nterface5::wrapperTypeInfo; 47 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI nterface5::wrapperTypeInfo;
48 48
49 // [ActiveScriptWrappable] 49 // [ActiveScriptWrappable]
50 static_assert( 50 static_assert(
51 std::is_base_of<ActiveScriptWrappable, TestInterface5Implementation>::value, 51 std::is_base_of<ActiveScriptWrappableBase, TestInterface5Implementation>::va lue,
52 "TestInterface5Implementation does not inherit from ActiveScriptWrappable, b ut specifying " 52 "TestInterface5Implementation does not inherit from ActiveScriptWrappable<>, but specifying "
53 "[ActiveScriptWrappable] extended attribute in the IDL file. " 53 "[ActiveScriptWrappable] extended attribute in the IDL file. "
54 "Be consistent."); 54 "Be consistent.");
55 static_assert( 55 static_assert(
56 !std::is_same<decltype(&TestInterface5Implementation::hasPendingActivity), 56 !std::is_same<decltype(&TestInterface5Implementation::hasPendingActivity),
57 decltype(&ScriptWrappable::hasPendingActivity)>::value, 57 decltype(&ScriptWrappable::hasPendingActivity)>::value,
58 "TestInterface5Implementation is not overriding hasPendingActivity(), but is specifying " 58 "TestInterface5Implementation is not overriding hasPendingActivity(), but is specifying "
59 "[ActiveScriptWrappable] extended attribute in the IDL file. " 59 "[ActiveScriptWrappable] extended attribute in the IDL file. "
60 "Be consistent."); 60 "Be consistent.");
61 61
62 namespace TestInterface5ImplementationV8Internal { 62 namespace TestInterface5ImplementationV8Internal {
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8Int ernal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurati on::OnInterface, V8DOMConfiguration::CheckHolder}; 980 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8Int ernal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurati on::OnInterface, V8DOMConfiguration::CheckHolder};
981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi guration); 981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi guration);
982 } 982 }
983 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) { 983 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) {
984 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterface 5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; 984 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterface 5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
985 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM ethodConfiguration); 985 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM ethodConfiguration);
986 } 986 }
987 } 987 }
988 988
989 } // namespace blink 989 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698