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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2595543003: Rename toV8(...) function in Blink to ToV8(...). (Closed)
Patch Set: Rebasing... Created 3 years, 11 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. 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 785
786 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& i nfo) { 786 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& i nfo) {
787 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::EnumerationCo ntext, "TestInterface5"); 787 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::EnumerationCo ntext, "TestInterface5");
788 788
789 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder()); 789 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
790 790
791 Vector<String> names; 791 Vector<String> names;
792 impl->namedPropertyEnumerator(names, exceptionState); 792 impl->namedPropertyEnumerator(names, exceptionState);
793 if (exceptionState.hadException()) 793 if (exceptionState.hadException())
794 return; 794 return;
795 v8SetReturnValue(info, toV8(names, info.Holder(), info.GetIsolate()).As<v8::Ar ray>()); 795 v8SetReturnValue(info, ToV8(names, info.Holder(), info.GetIsolate()).As<v8::Ar ray>());
796 } 796 }
797 797
798 void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info) { 798 void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info) {
799 TestInterface5ImplementationV8Internal::namedPropertyEnumerator(info); 799 TestInterface5ImplementationV8Internal::namedPropertyEnumerator(info);
800 } 800 }
801 801
802 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info) { 802 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info) {
803 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder()); 803 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
804 804
805 // We assume that all the implementations support length() method, although 805 // We assume that all the implementations support length() method, although
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8Int ernal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurati on::OnInterface, V8DOMConfiguration::CheckHolder}; 980 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8Int ernal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurati on::OnInterface, V8DOMConfiguration::CheckHolder};
981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi guration); 981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi guration);
982 } 982 }
983 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) { 983 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) {
984 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterface 5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; 984 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterface 5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
985 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM ethodConfiguration); 985 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM ethodConfiguration);
986 } 986 }
987 } 987 }
988 988
989 } // namespace blink 989 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698