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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp

Issue 2430223006: Bindings: Rebaseline run-bindings-tests results (Closed)
Patch Set: Created 4 years, 2 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 // clang-format off 7 // clang-format off
8 #include "V8TestInterfaceOriginTrialEnabled.h" 8 #include "V8TestInterfaceOriginTrialEnabled.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 if (exceptionState.hadException()) 189 if (exceptionState.hadException())
190 return; 190 return;
191 191
192 floatArg = toRestrictedFloat(info.GetIsolate(), info[1], exceptionState); 192 floatArg = toRestrictedFloat(info.GetIsolate(), info[1], exceptionState);
193 if (exceptionState.hadException()) 193 if (exceptionState.hadException())
194 return; 194 return;
195 195
196 impl->voidMethodDoubleArgFloatArg(doubleArg, floatArg); 196 impl->voidMethodDoubleArgFloatArg(doubleArg, floatArg);
197 } 197 }
198 198
199 static void voidMethodDoubleArgFloatArgMethodCallback(const v8::FunctionCallback Info<v8::Value>& info) 199 void voidMethodDoubleArgFloatArgMethodCallback(const v8::FunctionCallbackInfo<v8 ::Value>& info)
200 { 200 {
201 TestInterfaceOriginTrialEnabledV8Internal::voidMethodDoubleArgFloatArgMethod (info); 201 TestInterfaceOriginTrialEnabledV8Internal::voidMethodDoubleArgFloatArgMethod (info);
202 } 202 }
203 203
204 static void voidMethodPartialOverload1Method(const v8::FunctionCallbackInfo<v8:: Value>& info) 204 static void voidMethodPartialOverload1Method(const v8::FunctionCallbackInfo<v8:: Value>& info)
205 { 205 {
206 TestInterfaceOriginTrialEnabled* impl = V8TestInterfaceOriginTrialEnabled::t oImpl(info.Holder()); 206 TestInterfaceOriginTrialEnabled* impl = V8TestInterfaceOriginTrialEnabled::t oImpl(info.Holder());
207 207
208 impl->voidMethodPartialOverload(); 208 impl->voidMethodPartialOverload();
209 } 209 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 isArityError = true; 242 isArityError = true;
243 } 243 }
244 244
245 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterfaceOriginTrialEnabled", "voidMethodPartialOverload"); 245 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterfaceOriginTrialEnabled", "voidMethodPartialOverload");
246 246
247 if (isArityError) { 247 if (isArityError) {
248 } 248 }
249 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 249 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
250 } 250 }
251 251
252 static void voidMethodPartialOverloadMethodCallback(const v8::FunctionCallbackIn fo<v8::Value>& info) 252 void voidMethodPartialOverloadMethodCallback(const v8::FunctionCallbackInfo<v8:: Value>& info)
253 { 253 {
254 TestInterfaceOriginTrialEnabledV8Internal::voidMethodPartialOverloadMethod(i nfo); 254 TestInterfaceOriginTrialEnabledV8Internal::voidMethodPartialOverloadMethod(i nfo);
255 } 255 }
256 256
257 } // namespace TestInterfaceOriginTrialEnabledV8Internal 257 } // namespace TestInterfaceOriginTrialEnabledV8Internal
258 258
259 const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOriginTrialEnable dAccessors[] = { 259 const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOriginTrialEnable dAccessors[] = {
260 {"doubleAttribute", TestInterfaceOriginTrialEnabledV8Internal::doubleAttribu teAttributeGetterCallback, TestInterfaceOriginTrialEnabledV8Internal::doubleAttr ibuteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype, V8DOMConfiguration::CheckHolder}, 260 {"doubleAttribute", TestInterfaceOriginTrialEnabledV8Internal::doubleAttribu teAttributeGetterCallback, TestInterfaceOriginTrialEnabledV8Internal::doubleAttr ibuteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype, V8DOMConfiguration::CheckHolder},
261 {"staticStringAttribute", TestInterfaceOriginTrialEnabledV8Internal::staticS tringAttributeAttributeGetterCallback, TestInterfaceOriginTrialEnabledV8Internal ::staticStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, 261 {"staticStringAttribute", TestInterfaceOriginTrialEnabledV8Internal::staticS tringAttributeAttributeGetterCallback, TestInterfaceOriginTrialEnabledV8Internal ::staticStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
262 }; 262 };
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 { 314 {
315 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 315 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
316 } 316 }
317 317
318 TestInterfaceOriginTrialEnabled* V8TestInterfaceOriginTrialEnabled::toImplWithTy peCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) 318 TestInterfaceOriginTrialEnabled* V8TestInterfaceOriginTrialEnabled::toImplWithTy peCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
319 { 319 {
320 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr; 320 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr;
321 } 321 }
322 322
323 } // namespace blink 323 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698