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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.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 23 matching lines...) Expand all
34 #pragma clang diagnostic pop 34 #pragma clang diagnostic pop
35 #endif 35 #endif
36 36
37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestIntegerI ndexed.h. 37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestIntegerI ndexed.h.
38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
39 // bindings/core/v8/ScriptWrappable.h. 39 // bindings/core/v8/ScriptWrappable.h.
40 const WrapperTypeInfo& TestIntegerIndexed::s_wrapperTypeInfo = V8TestIntegerInde xed::wrapperTypeInfo; 40 const WrapperTypeInfo& TestIntegerIndexed::s_wrapperTypeInfo = V8TestIntegerInde xed::wrapperTypeInfo;
41 41
42 // not [ActiveScriptWrappable] 42 // not [ActiveScriptWrappable]
43 static_assert( 43 static_assert(
44 !std::is_base_of<ActiveScriptWrappable, TestIntegerIndexed>::value, 44 !std::is_base_of<ActiveScriptWrappableBase, TestIntegerIndexed>::value,
45 "TestIntegerIndexed inherits from ActiveScriptWrappable, but is not specifyi ng " 45 "TestIntegerIndexed inherits from ActiveScriptWrappable<>, but is not specif ying "
46 "[ActiveScriptWrappable] extended attribute in the IDL file. " 46 "[ActiveScriptWrappable] extended attribute in the IDL file. "
47 "Be consistent."); 47 "Be consistent.");
48 static_assert( 48 static_assert(
49 std::is_same<decltype(&TestIntegerIndexed::hasPendingActivity), 49 std::is_same<decltype(&TestIntegerIndexed::hasPendingActivity),
50 decltype(&ScriptWrappable::hasPendingActivity)>::value, 50 decltype(&ScriptWrappable::hasPendingActivity)>::value,
51 "TestIntegerIndexed is overriding hasPendingActivity(), but is not specifyin g " 51 "TestIntegerIndexed is overriding hasPendingActivity(), but is not 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 54
55 namespace TestIntegerIndexedV8Internal { 55 namespace TestIntegerIndexedV8Internal {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 v8::Local<v8::Object> V8TestIntegerIndexed::findInstanceInPrototypeChain(v8::Loc al<v8::Value> v8Value, v8::Isolate* isolate) { 203 v8::Local<v8::Object> V8TestIntegerIndexed::findInstanceInPrototypeChain(v8::Loc al<v8::Value> v8Value, v8::Isolate* isolate) {
204 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value); 204 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value);
205 } 205 }
206 206
207 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola te, v8::Local<v8::Value> value) { 207 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola te, v8::Local<v8::Value> value) {
208 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 208 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
209 } 209 }
210 210
211 } // namespace blink 211 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698