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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 #pragma clang diagnostic pop | 99 #pragma clang diagnostic pop |
100 #endif | 100 #endif |
101 | 101 |
102 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. | 102 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. |
103 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 103 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
104 // bindings/core/v8/ScriptWrappable.h. | 104 // bindings/core/v8/ScriptWrappable.h. |
105 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; | 105 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; |
106 | 106 |
107 // not [ActiveScriptWrappable] | 107 // not [ActiveScriptWrappable] |
108 static_assert( | 108 static_assert( |
109 !std::is_base_of<ActiveScriptWrappable, TestObject>::value, | 109 !std::is_base_of<ActiveScriptWrappableBase, TestObject>::value, |
110 "TestObject inherits from ActiveScriptWrappable, but is not specifying " | 110 "TestObject inherits from ActiveScriptWrappable<>, but is not specifying " |
111 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 111 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
112 "Be consistent."); | 112 "Be consistent."); |
113 static_assert( | 113 static_assert( |
114 std::is_same<decltype(&TestObject::hasPendingActivity), | 114 std::is_same<decltype(&TestObject::hasPendingActivity), |
115 decltype(&ScriptWrappable::hasPendingActivity)>::value, | 115 decltype(&ScriptWrappable::hasPendingActivity)>::value, |
116 "TestObject is overriding hasPendingActivity(), but is not specifying " | 116 "TestObject is overriding hasPendingActivity(), but is not specifying " |
117 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 117 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
118 "Be consistent."); | 118 "Be consistent."); |
119 | 119 |
120 namespace TestObjectV8Internal { | 120 namespace TestObjectV8Internal { |
(...skipping 11570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11691 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); | 11691 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); |
11692 } | 11692 } |
11693 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 11693 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
11694 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); | 11694 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); |
11695 } | 11695 } |
11696 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); | 11696 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); |
11697 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); | 11697 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); |
11698 } | 11698 } |
11699 | 11699 |
11700 } // namespace blink | 11700 } // namespace blink |
OLD | NEW |