OLD | NEW |
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 "V8TestInterfaceSecureContext.h" | 8 #include "V8TestInterfaceSecureContext.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edAttributeAttributeSetter(v8Value, info); | 289 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edAttributeAttributeSetter(v8Value, info); |
290 } | 290 } |
291 | 291 |
292 static void secureContextMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) | 292 static void secureContextMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) |
293 { | 293 { |
294 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 294 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
295 | 295 |
296 impl->secureContextMethod(); | 296 impl->secureContextMethod(); |
297 } | 297 } |
298 | 298 |
299 static void secureContextMethodMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>& info) | 299 void secureContextMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>
& info) |
300 { | 300 { |
301 TestInterfaceSecureContextV8Internal::secureContextMethodMethod(info); | 301 TestInterfaceSecureContextV8Internal::secureContextMethodMethod(info); |
302 } | 302 } |
303 | 303 |
304 static void secureContextRuntimeEnabledMethodMethod(const v8::FunctionCallbackIn
fo<v8::Value>& info) | 304 static void secureContextRuntimeEnabledMethodMethod(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
305 { | 305 { |
306 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 306 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
307 | 307 |
308 impl->secureContextRuntimeEnabledMethod(); | 308 impl->secureContextRuntimeEnabledMethod(); |
309 } | 309 } |
310 | 310 |
311 static void secureContextRuntimeEnabledMethodMethodCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) | 311 void secureContextRuntimeEnabledMethodMethodCallback(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
312 { | 312 { |
313 TestInterfaceSecureContextV8Internal::secureContextRuntimeEnabledMethodMetho
d(info); | 313 TestInterfaceSecureContextV8Internal::secureContextRuntimeEnabledMethodMetho
d(info); |
314 } | 314 } |
315 | 315 |
316 static void secureContextWindowExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 316 static void secureContextWindowExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
317 { | 317 { |
318 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 318 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
319 | 319 |
320 impl->secureContextWindowExposedMethod(); | 320 impl->secureContextWindowExposedMethod(); |
321 } | 321 } |
322 | 322 |
323 static void secureContextWindowExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 323 void secureContextWindowExposedMethodMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
324 { | 324 { |
325 TestInterfaceSecureContextV8Internal::secureContextWindowExposedMethodMethod
(info); | 325 TestInterfaceSecureContextV8Internal::secureContextWindowExposedMethodMethod
(info); |
326 } | 326 } |
327 | 327 |
328 static void secureContextWorkerExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 328 static void secureContextWorkerExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
329 { | 329 { |
330 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 330 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
331 | 331 |
332 impl->secureContextWorkerExposedMethod(); | 332 impl->secureContextWorkerExposedMethod(); |
333 } | 333 } |
334 | 334 |
335 static void secureContextWorkerExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 335 void secureContextWorkerExposedMethodMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
336 { | 336 { |
337 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedMethodMethod
(info); | 337 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedMethodMethod
(info); |
338 } | 338 } |
339 | 339 |
340 static void secureContextWindowExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 340 static void secureContextWindowExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
341 { | 341 { |
342 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 342 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
343 | 343 |
344 impl->secureContextWindowExposedRuntimeEnabledMethod(); | 344 impl->secureContextWindowExposedRuntimeEnabledMethod(); |
345 } | 345 } |
346 | 346 |
347 static void secureContextWindowExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | 347 void secureContextWindowExposedRuntimeEnabledMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) |
348 { | 348 { |
349 TestInterfaceSecureContextV8Internal::secureContextWindowExposedRuntimeEnabl
edMethodMethod(info); | 349 TestInterfaceSecureContextV8Internal::secureContextWindowExposedRuntimeEnabl
edMethodMethod(info); |
350 } | 350 } |
351 | 351 |
352 static void secureContextWorkerExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 352 static void secureContextWorkerExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
353 { | 353 { |
354 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 354 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
355 | 355 |
356 impl->secureContextWorkerExposedRuntimeEnabledMethod(); | 356 impl->secureContextWorkerExposedRuntimeEnabledMethod(); |
357 } | 357 } |
358 | 358 |
359 static void secureContextWorkerExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | 359 void secureContextWorkerExposedRuntimeEnabledMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) |
360 { | 360 { |
361 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edMethodMethod(info); | 361 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edMethodMethod(info); |
362 } | 362 } |
363 | 363 |
364 } // namespace TestInterfaceSecureContextV8Internal | 364 } // namespace TestInterfaceSecureContextV8Internal |
365 | 365 |
366 static void installV8TestInterfaceSecureContextTemplate(v8::Isolate* isolate, co
nst DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) | 366 static void installV8TestInterfaceSecureContextTemplate(v8::Isolate* isolate, co
nst DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) |
367 { | 367 { |
368 // Initialize the interface object's template. | 368 // Initialize the interface object's template. |
369 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplat
e, V8TestInterfaceSecureContext::wrapperTypeInfo.interfaceName, v8::Local<v8::Fu
nctionTemplate>(), V8TestInterfaceSecureContext::internalFieldCount); | 369 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplat
e, V8TestInterfaceSecureContext::wrapperTypeInfo.interfaceName, v8::Local<v8::Fu
nctionTemplate>(), V8TestInterfaceSecureContext::internalFieldCount); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 476 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
477 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { | 477 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { |
478 const V8DOMConfiguration::MethodConfiguration secureContextWorke
rExposedRuntimeEnabledMethodMethodConfiguration = {"secureContextWorkerExposedRu
ntimeEnabledMethod", TestInterfaceSecureContextV8Internal::secureContextWorkerEx
posedRuntimeEnabledMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}; | 478 const V8DOMConfiguration::MethodConfiguration secureContextWorke
rExposedRuntimeEnabledMethodMethodConfiguration = {"secureContextWorkerExposedRu
ntimeEnabledMethod", TestInterfaceSecureContextV8Internal::secureContextWorkerEx
posedRuntimeEnabledMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}; |
479 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::
Object>(), prototypeObject, interfaceObject, signature, secureContextWorkerExpos
edRuntimeEnabledMethodMethodConfiguration); | 479 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::
Object>(), prototypeObject, interfaceObject, signature, secureContextWorkerExpos
edRuntimeEnabledMethodMethodConfiguration); |
480 } | 480 } |
481 } | 481 } |
482 } | 482 } |
483 } | 483 } |
484 | 484 |
485 } // namespace blink | 485 } // namespace blink |
OLD | NEW |