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 #include "V8TestInterfaceSecureContext.h" | 7 #include "V8TestInterfaceSecureContext.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "bindings/core/v8/GeneratedCodeHelper.h" | 10 #include "bindings/core/v8/GeneratedCodeHelper.h" |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 void secureContextWorkerExposedRuntimeEnabledAttributeAttributeSetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) | 231 void secureContextWorkerExposedRuntimeEnabledAttributeAttributeSetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) |
232 { | 232 { |
233 v8::Local<v8::Value> v8Value = info[0]; | 233 v8::Local<v8::Value> v8Value = info[0]; |
234 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edAttributeAttributeSetter(v8Value, info); | 234 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edAttributeAttributeSetter(v8Value, info); |
235 } | 235 } |
236 | 236 |
237 static void secureContextMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) | 237 static void secureContextMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) |
238 { | 238 { |
239 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 239 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 240 |
240 impl->secureContextMethod(); | 241 impl->secureContextMethod(); |
241 } | 242 } |
242 | 243 |
243 static void secureContextMethodMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>& info) | 244 static void secureContextMethodMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>& info) |
244 { | 245 { |
245 TestInterfaceSecureContextV8Internal::secureContextMethodMethod(info); | 246 TestInterfaceSecureContextV8Internal::secureContextMethodMethod(info); |
246 } | 247 } |
247 | 248 |
248 static void secureContextRuntimeEnabledMethodMethod(const v8::FunctionCallbackIn
fo<v8::Value>& info) | 249 static void secureContextRuntimeEnabledMethodMethod(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
249 { | 250 { |
250 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 251 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 252 |
251 impl->secureContextRuntimeEnabledMethod(); | 253 impl->secureContextRuntimeEnabledMethod(); |
252 } | 254 } |
253 | 255 |
254 static void secureContextRuntimeEnabledMethodMethodCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) | 256 static void secureContextRuntimeEnabledMethodMethodCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
255 { | 257 { |
256 TestInterfaceSecureContextV8Internal::secureContextRuntimeEnabledMethodMetho
d(info); | 258 TestInterfaceSecureContextV8Internal::secureContextRuntimeEnabledMethodMetho
d(info); |
257 } | 259 } |
258 | 260 |
259 static void secureContextWindowExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 261 static void secureContextWindowExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
260 { | 262 { |
261 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 263 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 264 |
262 impl->secureContextWindowExposedMethod(); | 265 impl->secureContextWindowExposedMethod(); |
263 } | 266 } |
264 | 267 |
265 static void secureContextWindowExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 268 static void secureContextWindowExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
266 { | 269 { |
267 TestInterfaceSecureContextV8Internal::secureContextWindowExposedMethodMethod
(info); | 270 TestInterfaceSecureContextV8Internal::secureContextWindowExposedMethodMethod
(info); |
268 } | 271 } |
269 | 272 |
270 static void secureContextWorkerExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 273 static void secureContextWorkerExposedMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
271 { | 274 { |
272 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 275 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 276 |
273 impl->secureContextWorkerExposedMethod(); | 277 impl->secureContextWorkerExposedMethod(); |
274 } | 278 } |
275 | 279 |
276 static void secureContextWorkerExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 280 static void secureContextWorkerExposedMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
277 { | 281 { |
278 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedMethodMethod
(info); | 282 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedMethodMethod
(info); |
279 } | 283 } |
280 | 284 |
281 static void secureContextWindowExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 285 static void secureContextWindowExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
282 { | 286 { |
283 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 287 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 288 |
284 impl->secureContextWindowExposedRuntimeEnabledMethod(); | 289 impl->secureContextWindowExposedRuntimeEnabledMethod(); |
285 } | 290 } |
286 | 291 |
287 static void secureContextWindowExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | 292 static void secureContextWindowExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
288 { | 293 { |
289 TestInterfaceSecureContextV8Internal::secureContextWindowExposedRuntimeEnabl
edMethodMethod(info); | 294 TestInterfaceSecureContextV8Internal::secureContextWindowExposedRuntimeEnabl
edMethodMethod(info); |
290 } | 295 } |
291 | 296 |
292 static void secureContextWorkerExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 297 static void secureContextWorkerExposedRuntimeEnabledMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
293 { | 298 { |
294 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); | 299 TestInterfaceSecureContext* impl = V8TestInterfaceSecureContext::toImpl(info
.Holder()); |
| 300 |
295 impl->secureContextWorkerExposedRuntimeEnabledMethod(); | 301 impl->secureContextWorkerExposedRuntimeEnabledMethod(); |
296 } | 302 } |
297 | 303 |
298 static void secureContextWorkerExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | 304 static void secureContextWorkerExposedRuntimeEnabledMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
299 { | 305 { |
300 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edMethodMethod(info); | 306 TestInterfaceSecureContextV8Internal::secureContextWorkerExposedRuntimeEnabl
edMethodMethod(info); |
301 } | 307 } |
302 | 308 |
303 } // namespace TestInterfaceSecureContextV8Internal | 309 } // namespace TestInterfaceSecureContextV8Internal |
304 | 310 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 421 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
416 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { | 422 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { |
417 const V8DOMConfiguration::MethodConfiguration secureContextWorke
rExposedRuntimeEnabledMethodMethodConfiguration = {"secureContextWorkerExposedRu
ntimeEnabledMethod", TestInterfaceSecureContextV8Internal::secureContextWorkerEx
posedRuntimeEnabledMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}; | 423 const V8DOMConfiguration::MethodConfiguration secureContextWorke
rExposedRuntimeEnabledMethodMethodConfiguration = {"secureContextWorkerExposedRu
ntimeEnabledMethod", TestInterfaceSecureContextV8Internal::secureContextWorkerEx
posedRuntimeEnabledMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}; |
418 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::
Object>(), prototypeObject, interfaceObject, signature, secureContextWorkerExpos
edRuntimeEnabledMethodMethodConfiguration); | 424 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::
Object>(), prototypeObject, interfaceObject, signature, secureContextWorkerExpos
edRuntimeEnabledMethodMethodConfiguration); |
419 } | 425 } |
420 } | 426 } |
421 } | 427 } |
422 } | 428 } |
423 | 429 |
424 } // namespace blink | 430 } // namespace blink |
OLD | NEW |