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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface3.cpp

Issue 921683002: make window interceptors DoNoCheckSecurity (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 10 months 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 | Annotate | Revision Log
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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 v8::Local<v8::Signature> defaultSignature; 213 v8::Local<v8::Signature> defaultSignature;
214 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa ce3::internalFieldCount, 214 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa ce3::internalFieldCount,
215 0, 0, 215 0, 0,
216 0, 0, 216 0, 0,
217 0, 0); 217 0, 0);
218 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 218 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
219 ALLOW_UNUSED_LOCAL(instanceTemplate); 219 ALLOW_UNUSED_LOCAL(instanceTemplate);
220 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 220 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
221 ALLOW_UNUSED_LOCAL(prototypeTemplate); 221 ALLOW_UNUSED_LOCAL(prototypeTemplate);
222 functionTemplate->InstanceTemplate()->SetHandler(v8::IndexedPropertyHandlerC onfiguration(TestInterface3V8Internal::indexedPropertyGetterCallback, TestInterf ace3V8Internal::indexedPropertySetterCallback, 0, TestInterface3V8Internal::inde xedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterface3>)); 222 {
223 functionTemplate->InstanceTemplate()->SetHandler(v8::NamedPropertyHandlerCon figuration(TestInterface3V8Internal::namedPropertyGetterCallback, TestInterface3 V8Internal::namedPropertySetterCallback, TestInterface3V8Internal::namedProperty QueryCallback, TestInterface3V8Internal::namedPropertyDeleterCallback, TestInter face3V8Internal::namedPropertyEnumeratorCallback)); 223 v8::IndexedPropertyHandlerConfiguration config(TestInterface3V8Internal: :indexedPropertyGetterCallback, TestInterface3V8Internal::indexedPropertySetterC allback, 0, TestInterface3V8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface3>);
224 functionTemplate->InstanceTemplate()->SetHandler(config);
225 }
226 {
227 v8::NamedPropertyHandlerConfiguration config(TestInterface3V8Internal::n amedPropertyGetterCallback, TestInterface3V8Internal::namedPropertySetterCallbac k, TestInterface3V8Internal::namedPropertyQueryCallback, TestInterface3V8Interna l::namedPropertyDeleterCallback, TestInterface3V8Internal::namedPropertyEnumerat orCallback);
228 functionTemplate->InstanceTemplate()->SetHandler(config);
229 }
224 if (RuntimeEnabledFeatures::featureNameEnabled()) { 230 if (RuntimeEnabledFeatures::featureNameEnabled()) {
225 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKe yedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface3V8Internal:: iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; 231 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKe yedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface3V8Internal:: iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts };
226 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::DontDelete, symbolKeyedIteratorConfiguration, isolate); 232 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::DontDelete, symbolKeyedIteratorConfiguration, isolate);
227 } 233 }
228 if (RuntimeEnabledFeatures::featureNameEnabled()) { 234 if (RuntimeEnabledFeatures::featureNameEnabled()) {
229 const V8DOMConfiguration::MethodConfiguration keysMethodConfiguration = { 235 const V8DOMConfiguration::MethodConfiguration keysMethodConfiguration = {
230 "keys", TestInterface3V8Internal::keysMethodCallback, 0, 0, V8DOMCon figuration::ExposedToAllScripts, 236 "keys", TestInterface3V8Internal::keysMethodCallback, 0, 0, V8DOMCon figuration::ExposedToAllScripts,
231 }; 237 };
232 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, keysMethodConfiguration, isolate); 238 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, keysMethodConfiguration, isolate);
233 } 239 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 { 284 {
279 scriptWrappable->toImpl<TestInterface3>()->ref(); 285 scriptWrappable->toImpl<TestInterface3>()->ref();
280 } 286 }
281 287
282 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) 288 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable)
283 { 289 {
284 scriptWrappable->toImpl<TestInterface3>()->deref(); 290 scriptWrappable->toImpl<TestInterface3>()->deref();
285 } 291 }
286 292
287 } // namespace blink 293 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698