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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.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 28 matching lines...) Expand all
39 #pragma clang diagnostic pop 39 #pragma clang diagnostic pop
40 #endif 40 #endif
41 41
42 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO perations.h. 42 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO perations.h.
43 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 43 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
44 // bindings/core/v8/ScriptWrappable.h. 44 // bindings/core/v8/ScriptWrappable.h.
45 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO perations::wrapperTypeInfo; 45 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO perations::wrapperTypeInfo;
46 46
47 // not [ActiveScriptWrappable] 47 // not [ActiveScriptWrappable]
48 static_assert( 48 static_assert(
49 !std::is_base_of<ActiveScriptWrappable, TestSpecialOperations>::value, 49 !std::is_base_of<ActiveScriptWrappableBase, TestSpecialOperations>::value,
50 "TestSpecialOperations inherits from ActiveScriptWrappable, but is not speci fying " 50 "TestSpecialOperations inherits from ActiveScriptWrappable<>, but is not spe cifying "
51 "[ActiveScriptWrappable] extended attribute in the IDL file. " 51 "[ActiveScriptWrappable] extended attribute in the IDL file. "
52 "Be consistent."); 52 "Be consistent.");
53 static_assert( 53 static_assert(
54 std::is_same<decltype(&TestSpecialOperations::hasPendingActivity), 54 std::is_same<decltype(&TestSpecialOperations::hasPendingActivity),
55 decltype(&ScriptWrappable::hasPendingActivity)>::value, 55 decltype(&ScriptWrappable::hasPendingActivity)>::value,
56 "TestSpecialOperations is overriding hasPendingActivity(), but is not specif ying " 56 "TestSpecialOperations is overriding hasPendingActivity(), but is not specif ying "
57 "[ActiveScriptWrappable] extended attribute in the IDL file. " 57 "[ActiveScriptWrappable] extended attribute in the IDL file. "
58 "Be consistent."); 58 "Be consistent.");
59 59
60 namespace TestSpecialOperationsV8Internal { 60 namespace TestSpecialOperationsV8Internal {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 v8::Local<v8::Object> V8TestSpecialOperations::findInstanceInPrototypeChain(v8:: Local<v8::Value> v8Value, v8::Isolate* isolate) { 206 v8::Local<v8::Object> V8TestSpecialOperations::findInstanceInPrototypeChain(v8:: Local<v8::Value> v8Value, v8::Isolate* isolate) {
207 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value); 207 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value);
208 } 208 }
209 209
210 TestSpecialOperations* V8TestSpecialOperations::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 210 TestSpecialOperations* V8TestSpecialOperations::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
211 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 211 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
212 } 212 }
213 213
214 } // namespace blink 214 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698