| 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 "config.h" | 7 #include "config.h" |
| 8 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
| 9 | 9 |
| 10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
| (...skipping 6970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6981 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6981 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6982 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info); | 6982 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info); |
| 6983 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6983 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6984 } | 6984 } |
| 6985 | 6985 |
| 6986 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) | 6986 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6987 { | 6987 { |
| 6988 TestObject* impl = V8TestObject::toNative(info.Holder()); | 6988 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6989 V8StringResource<> defaultStringArg; | 6989 V8StringResource<> defaultStringArg; |
| 6990 { | 6990 { |
| 6991 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); | 6991 TOSTRING_VOID_INTERNAL(defaultStringArg, argumentOrNull(info, 0)); |
| 6992 } | 6992 } |
| 6993 impl->voidMethodDefaultNullableStringArg(defaultStringArg); | 6993 impl->voidMethodDefaultNullableStringArg(defaultStringArg); |
| 6994 } | 6994 } |
| 6995 | 6995 |
| 6996 static void voidMethodDefaultNullableStringArgMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) | 6996 static void voidMethodDefaultNullableStringArgMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
| 6997 { | 6997 { |
| 6998 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6998 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6999 TestObjectV8Internal::voidMethodDefaultNullableStringArgMethod(info); | 6999 TestObjectV8Internal::voidMethodDefaultNullableStringArgMethod(info); |
| 7000 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7000 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 7001 } | 7001 } |
| (...skipping 3104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10106 fromInternalPointer(object)->deref(); | 10106 fromInternalPointer(object)->deref(); |
| 10107 } | 10107 } |
| 10108 | 10108 |
| 10109 template<> | 10109 template<> |
| 10110 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 10110 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
| 10111 { | 10111 { |
| 10112 return toV8(impl, creationContext, isolate); | 10112 return toV8(impl, creationContext, isolate); |
| 10113 } | 10113 } |
| 10114 | 10114 |
| 10115 } // namespace WebCore | 10115 } // namespace WebCore |
| OLD | NEW |