OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 #pragma clang diagnostic pop | 40 #pragma clang diagnostic pop |
41 #endif | 41 #endif |
42 | 42 |
43 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e2.h. | 43 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e2.h. |
44 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 44 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
45 // bindings/core/v8/ScriptWrappable.h. | 45 // bindings/core/v8/ScriptWrappable.h. |
46 const WrapperTypeInfo& TestInterface2::s_wrapperTypeInfo = V8TestInterface2::wra
pperTypeInfo; | 46 const WrapperTypeInfo& TestInterface2::s_wrapperTypeInfo = V8TestInterface2::wra
pperTypeInfo; |
47 | 47 |
48 // [ActiveScriptWrappable] | 48 // [ActiveScriptWrappable] |
49 static_assert( | 49 static_assert( |
50 std::is_base_of<ActiveScriptWrappable, TestInterface2>::value, | 50 std::is_base_of<ActiveScriptWrappableBase, TestInterface2>::value, |
51 "TestInterface2 does not inherit from ActiveScriptWrappable, but specifying
" | 51 "TestInterface2 does not inherit from ActiveScriptWrappable<>, but specifyin
g " |
52 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 52 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
53 "Be consistent."); | 53 "Be consistent."); |
54 static_assert( | 54 static_assert( |
55 !std::is_same<decltype(&TestInterface2::hasPendingActivity), | 55 !std::is_same<decltype(&TestInterface2::hasPendingActivity), |
56 decltype(&ScriptWrappable::hasPendingActivity)>::value, | 56 decltype(&ScriptWrappable::hasPendingActivity)>::value, |
57 "TestInterface2 is not overriding hasPendingActivity(), but is specifying " | 57 "TestInterface2 is not overriding hasPendingActivity(), but is specifying " |
58 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 58 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
59 "Be consistent."); | 59 "Be consistent."); |
60 | 60 |
61 namespace TestInterface2V8Internal { | 61 namespace TestInterface2V8Internal { |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 | 675 |
676 InstallTemplateFunction V8TestInterface2::installV8TestInterface2TemplateFunctio
n = (InstallTemplateFunction)&V8TestInterface2::installV8TestInterface2Template; | 676 InstallTemplateFunction V8TestInterface2::installV8TestInterface2TemplateFunctio
n = (InstallTemplateFunction)&V8TestInterface2::installV8TestInterface2Template; |
677 | 677 |
678 void V8TestInterface2::updateWrapperTypeInfo(InstallTemplateFunction installTemp
lateFunction, PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInte
rfaceObjectFunction) { | 678 void V8TestInterface2::updateWrapperTypeInfo(InstallTemplateFunction installTemp
lateFunction, PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInte
rfaceObjectFunction) { |
679 V8TestInterface2::installV8TestInterface2TemplateFunction = installTemplateFun
ction; | 679 V8TestInterface2::installV8TestInterface2TemplateFunction = installTemplateFun
ction; |
680 if (preparePrototypeAndInterfaceObjectFunction) | 680 if (preparePrototypeAndInterfaceObjectFunction) |
681 V8TestInterface2::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction
= preparePrototypeAndInterfaceObjectFunction; | 681 V8TestInterface2::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction
= preparePrototypeAndInterfaceObjectFunction; |
682 } | 682 } |
683 | 683 |
684 } // namespace blink | 684 } // namespace blink |
OLD | NEW |