| 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 21 matching lines...) Expand all Loading... |
| 32 #pragma clang diagnostic pop | 32 #pragma clang diagnostic pop |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO
perationsNotEnumerable.h. | 35 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO
perationsNotEnumerable.h. |
| 36 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 36 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 37 // bindings/core/v8/ScriptWrappable.h. | 37 // bindings/core/v8/ScriptWrappable.h. |
| 38 const WrapperTypeInfo& TestSpecialOperationsNotEnumerable::s_wrapperTypeInfo = V
8TestSpecialOperationsNotEnumerable::wrapperTypeInfo; | 38 const WrapperTypeInfo& TestSpecialOperationsNotEnumerable::s_wrapperTypeInfo = V
8TestSpecialOperationsNotEnumerable::wrapperTypeInfo; |
| 39 | 39 |
| 40 // not [ActiveScriptWrappable] | 40 // not [ActiveScriptWrappable] |
| 41 static_assert( | 41 static_assert( |
| 42 !std::is_base_of<ActiveScriptWrappable, TestSpecialOperationsNotEnumerable>:
:value, | 42 !std::is_base_of<ActiveScriptWrappableBase, TestSpecialOperationsNotEnumerab
le>::value, |
| 43 "TestSpecialOperationsNotEnumerable inherits from ActiveScriptWrappable, but
is not specifying " | 43 "TestSpecialOperationsNotEnumerable inherits from ActiveScriptWrappable<>, b
ut is not specifying " |
| 44 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 44 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
| 45 "Be consistent."); | 45 "Be consistent."); |
| 46 static_assert( | 46 static_assert( |
| 47 std::is_same<decltype(&TestSpecialOperationsNotEnumerable::hasPendingActivit
y), | 47 std::is_same<decltype(&TestSpecialOperationsNotEnumerable::hasPendingActivit
y), |
| 48 decltype(&ScriptWrappable::hasPendingActivity)>::value, | 48 decltype(&ScriptWrappable::hasPendingActivity)>::value, |
| 49 "TestSpecialOperationsNotEnumerable is overriding hasPendingActivity(), but
is not specifying " | 49 "TestSpecialOperationsNotEnumerable is overriding hasPendingActivity(), but
is not specifying " |
| 50 "[ActiveScriptWrappable] extended attribute in the IDL file. " | 50 "[ActiveScriptWrappable] extended attribute in the IDL file. " |
| 51 "Be consistent."); | 51 "Be consistent."); |
| 52 | 52 |
| 53 namespace TestSpecialOperationsNotEnumerableV8Internal { | 53 namespace TestSpecialOperationsNotEnumerableV8Internal { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 119 v8::Local<v8::Object> V8TestSpecialOperationsNotEnumerable::findInstanceInProtot
ypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { | 119 v8::Local<v8::Object> V8TestSpecialOperationsNotEnumerable::findInstanceInProtot
ypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { |
| 120 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); | 120 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); |
| 121 } | 121 } |
| 122 | 122 |
| 123 TestSpecialOperationsNotEnumerable* V8TestSpecialOperationsNotEnumerable::toImpl
WithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { | 123 TestSpecialOperationsNotEnumerable* V8TestSpecialOperationsNotEnumerable::toImpl
WithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { |
| 124 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; | 124 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace blink | 127 } // namespace blink |
| OLD | NEW |