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

Side by Side Diff: Source/bindings/tests/results/modules/V8TestInterface5.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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface5.h" 9 #include "V8TestInterface5.h"
10 10
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods)); 905 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods));
906 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 906 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
907 ALLOW_UNUSED_LOCAL(instanceTemplate); 907 ALLOW_UNUSED_LOCAL(instanceTemplate);
908 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 908 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
909 ALLOW_UNUSED_LOCAL(prototypeTemplate); 909 ALLOW_UNUSED_LOCAL(prototypeTemplate);
910 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const ants[] = { 910 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const ants[] = {
911 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong} , 911 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong} ,
912 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort}, 912 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort},
913 }; 913 };
914 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem plate, V8TestInterface5Constants, WTF_ARRAY_LENGTH(V8TestInterface5Constants)); 914 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem plate, V8TestInterface5Constants, WTF_ARRAY_LENGTH(V8TestInterface5Constants));
915 functionTemplate->InstanceTemplate()->SetHandler(v8::IndexedPropertyHandlerC onfiguration(TestInterface5ImplementationV8Internal::indexedPropertyGetterCallba ck, TestInterface5ImplementationV8Internal::indexedPropertySetterCallback, 0, Te stInterface5ImplementationV8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface5Implementation>)); 915 {
916 functionTemplate->InstanceTemplate()->SetHandler(v8::NamedPropertyHandlerCon figuration(TestInterface5ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5ImplementationV8Internal::namedPropertySetterCallback, TestInterfa ce5ImplementationV8Internal::namedPropertyQueryCallback, TestInterface5Implement ationV8Internal::namedPropertyDeleterCallback, TestInterface5ImplementationV8Int ernal::namedPropertyEnumeratorCallback)); 916 v8::IndexedPropertyHandlerConfiguration config(TestInterface5Implementat ionV8Internal::indexedPropertyGetterCallback, TestInterface5ImplementationV8Inte rnal::indexedPropertySetterCallback, 0, TestInterface5ImplementationV8Internal:: indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterface5Implemen tation>);
917 functionTemplate->InstanceTemplate()->SetHandler(config);
918 }
919 {
920 v8::NamedPropertyHandlerConfiguration config(TestInterface5Implementatio nV8Internal::namedPropertyGetterCallback, TestInterface5ImplementationV8Internal ::namedPropertySetterCallback, TestInterface5ImplementationV8Internal::namedProp ertyQueryCallback, TestInterface5ImplementationV8Internal::namedPropertyDeleterC allback, TestInterface5ImplementationV8Internal::namedPropertyEnumeratorCallback );
921 functionTemplate->InstanceTemplate()->SetHandler(config);
922 }
917 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8 Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; 923 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8 Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts };
918 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D ontDelete, symbolKeyedIteratorConfiguration, isolate); 924 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D ontDelete, symbolKeyedIteratorConfiguration, isolate);
919 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa ce5::legacyCallCustom); 925 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa ce5::legacyCallCustom);
920 const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMethodMetho dConfiguration = { 926 const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMethodMetho dConfiguration = {
921 "alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::alw aysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScri pts, 927 "alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::alw aysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScri pts,
922 }; 928 };
923 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); 929 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate);
924 if (context && (context->isWorkerGlobalScope())) { 930 if (context && (context->isWorkerGlobalScope())) {
925 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM ethodConfiguration = { 931 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM ethodConfiguration = {
926 "workerExposedStaticMethod", TestInterface5ImplementationV8Internal: :workerExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll Scripts, 932 "workerExposedStaticMethod", TestInterface5ImplementationV8Internal: :workerExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll Scripts,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); 1013 scriptWrappable->toImpl<TestInterface5Implementation>()->ref();
1008 } 1014 }
1009 1015
1010 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) 1016 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable)
1011 { 1017 {
1012 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); 1018 scriptWrappable->toImpl<TestInterface5Implementation>()->deref();
1013 } 1019 }
1014 1020
1015 } // namespace blink 1021 } // namespace blink
1016 #endif // ENABLE(CONDITION) 1022 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698