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

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

Issue 15290002: Rebaseline bindings test results after r150554. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 static void bAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) 105 static void bAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
106 { 106 {
107 RealClassV8Internal::bAttrSetter(name, value, info); 107 RealClassV8Internal::bAttrSetter(name, value, info);
108 } 108 }
109 109
110 static v8::Handle<v8::Value> func1Method(const v8::Arguments& args) 110 static v8::Handle<v8::Value> func1Method(const v8::Arguments& args)
111 { 111 {
112 if (args.Length() < 1) 112 if (args.Length() < 1)
113 return throwNotEnoughArgumentsError(args.GetIsolate()); 113 return throwNotEnoughArgumentsError(args.GetIsolate());
114 RealClass* imp = V8TestInterfaceImplementedAs::toNative(args.Holder()); 114 RealClass* imp = V8TestInterfaceImplementedAs::toNative(args.Holder());
115 ExceptionCode ec = 0;
116 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, a, args[0]); 115 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, a, args[0]);
117 return v8String(imp->func1(a), args.GetIsolate(), ReturnUnsafeHandle); 116 return v8String(imp->func1(a), args.GetIsolate(), ReturnUnsafeHandle);
118 } 117 }
119 118
120 static v8::Handle<v8::Value> func1MethodCallback(const v8::Arguments& args) 119 static v8::Handle<v8::Value> func1MethodCallback(const v8::Arguments& args)
121 { 120 {
122 return RealClassV8Internal::func1Method(args); 121 return RealClassV8Internal::func1Method(args);
123 } 122 }
124 123
125 static v8::Handle<v8::Value> funcTestInterfaceImplementedAsParamMethod(const v8: :Arguments& args) 124 static v8::Handle<v8::Value> funcTestInterfaceImplementedAsParamMethod(const v8: :Arguments& args)
126 { 125 {
127 if (args.Length() < 1) 126 if (args.Length() < 1)
128 return throwNotEnoughArgumentsError(args.GetIsolate()); 127 return throwNotEnoughArgumentsError(args.GetIsolate());
129 RealClass* imp = V8TestInterfaceImplementedAs::toNative(args.Holder()); 128 RealClass* imp = V8TestInterfaceImplementedAs::toNative(args.Holder());
130 ExceptionCode ec = 0;
131 V8TRYCATCH(RealClass*, orange, V8TestInterfaceImplementedAs::HasInstance(arg s[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestInterfaceImplemen tedAs::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0); 129 V8TRYCATCH(RealClass*, orange, V8TestInterfaceImplementedAs::HasInstance(arg s[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestInterfaceImplemen tedAs::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
132 return v8String(imp->funcTestInterfaceImplementedAsParam(orange), args.GetIs olate(), ReturnUnsafeHandle); 130 return v8String(imp->funcTestInterfaceImplementedAsParam(orange), args.GetIs olate(), ReturnUnsafeHandle);
133 } 131 }
134 132
135 static v8::Handle<v8::Value> funcTestInterfaceImplementedAsParamMethodCallback(c onst v8::Arguments& args) 133 static v8::Handle<v8::Value> funcTestInterfaceImplementedAsParamMethodCallback(c onst v8::Arguments& args)
136 { 134 {
137 return RealClassV8Internal::funcTestInterfaceImplementedAsParamMethod(args); 135 return RealClassV8Internal::funcTestInterfaceImplementedAsParamMethod(args);
138 } 136 }
139 137
140 } // namespace RealClassV8Internal 138 } // namespace RealClassV8Internal
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 installPerContextProperties(wrapper, impl.get(), isolate); 212 installPerContextProperties(wrapper, impl.get(), isolate);
215 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 213 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
216 return wrapper; 214 return wrapper;
217 } 215 }
218 void V8TestInterfaceImplementedAs::derefObject(void* object) 216 void V8TestInterfaceImplementedAs::derefObject(void* object)
219 { 217 {
220 static_cast<RealClass*>(object)->deref(); 218 static_cast<RealClass*>(object)->deref();
221 } 219 }
222 220
223 } // namespace WebCore 221 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | Source/bindings/tests/results/V8TestMediaQueryListListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698