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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.cpp

Issue 464273003: Restructure handling of list type extended attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor fixes Created 6 years, 4 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
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 "V8TestInterface.h" 9 #include "V8TestInterface.h"
10 10
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 } 1824 }
1825 if (context && (context->isDocument())) { 1825 if (context && (context->isDocument())) {
1826 prototypeObject->Set(v8AtomicString(isolate, "windowExposedMethod"), v8: :FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::windowExp osedMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction()); 1826 prototypeObject->Set(v8AtomicString(isolate, "windowExposedMethod"), v8: :FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::windowExp osedMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction());
1827 } 1827 }
1828 if (context && (context->isWorkerGlobalScope())) { 1828 if (context && (context->isWorkerGlobalScope())) {
1829 prototypeObject->Set(v8AtomicString(isolate, "workerExposedStaticMethod" ), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::wor kerExposedStaticMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFu nction()); 1829 prototypeObject->Set(v8AtomicString(isolate, "workerExposedStaticMethod" ), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::wor kerExposedStaticMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFu nction());
1830 } 1830 }
1831 if (context && (context->isDocument())) { 1831 if (context && (context->isDocument())) {
1832 prototypeObject->Set(v8AtomicString(isolate, "windowExposedStaticMethod" ), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::win dowExposedStaticMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFu nction()); 1832 prototypeObject->Set(v8AtomicString(isolate, "windowExposedStaticMethod" ), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::win dowExposedStaticMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFu nction());
1833 } 1833 }
1834 if (context && (context->isServiceWorkerGlobalScope() || context->isDocument ())) { 1834 if (context && (context->isDocument() || context->isServiceWorkerGlobalScope ())) {
1835 prototypeObject->Set(v8AtomicString(isolate, "windowAndServiceWorkerExpo sedMethod"), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Int ernal::windowAndServiceWorkerExposedMethodMethodCallback, v8Undefined(), default Signature, 0)->GetFunction()); 1835 prototypeObject->Set(v8AtomicString(isolate, "windowAndServiceWorkerExpo sedMethod"), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Int ernal::windowAndServiceWorkerExposedMethodMethodCallback, v8Undefined(), default Signature, 0)->GetFunction());
1836 } 1836 }
1837 if (context && context->isDocument() && ContextFeatures::partialContextNameE nabled(toDocument(context))) { 1837 if (context && context->isDocument() && ContextFeatures::partialContextNameE nabled(toDocument(context))) {
1838 prototypeObject->Set(v8AtomicString(isolate, "partial2VoidMethod"), v8:: FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::partial2Vo idMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction()); 1838 prototypeObject->Set(v8AtomicString(isolate, "partial2VoidMethod"), v8:: FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::partial2Vo idMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction());
1839 } 1839 }
1840 if (context && context->isDocument() && ContextFeatures::partialContextNameE nabled(toDocument(context))) { 1840 if (context && context->isDocument() && ContextFeatures::partialContextNameE nabled(toDocument(context))) {
1841 prototypeObject->Set(v8AtomicString(isolate, "partial2StaticVoidMethod") , v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::part ial2StaticVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunc tion()); 1841 prototypeObject->Set(v8AtomicString(isolate, "partial2StaticVoidMethod") , v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::part ial2StaticVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunc tion());
1842 } 1842 }
1843 } 1843 }
1844 1844
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 RELEASE_ASSERT_NOT_REACHED(); 1951 RELEASE_ASSERT_NOT_REACHED();
1952 } 1952 }
1953 block.ReThrow(); 1953 block.ReThrow();
1954 return false; 1954 return false;
1955 } 1955 }
1956 return true; 1956 return true;
1957 } 1957 }
1958 1958
1959 } // namespace blink 1959 } // namespace blink
1960 #endif // ENABLE(CONDITION) 1960 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698