| 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 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
| 9 #include "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
| 10 | 10 |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1143 static void partial2StaticVoidMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) | 1143 static void partial2StaticVoidMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 1144 { | 1144 { |
| 1145 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 1145 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 1146 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethod(info); | 1146 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethod(info); |
| 1147 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 1147 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) | 1150 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 1151 { | 1151 { |
| 1152 TestInterfaceImplementation* impl = V8TestInterface::toNative(info.Holder())
; | 1152 TestInterfaceImplementation* impl = V8TestInterface::toNative(info.Holder())
; |
| 1153 v8SetReturnValueString(info, impl->toString(), info.GetIsolate()); | 1153 String result = impl->toString(); |
| 1154 v8SetReturnValueString(info, result, info.GetIsolate()); |
| 1154 } | 1155 } |
| 1155 | 1156 |
| 1156 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in
fo) | 1157 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in
fo) |
| 1157 { | 1158 { |
| 1158 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 1159 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 1159 TestInterfaceImplementationV8Internal::toStringMethod(info); | 1160 TestInterfaceImplementationV8Internal::toStringMethod(info); |
| 1160 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 1161 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 1161 } | 1162 } |
| 1162 | 1163 |
| 1163 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
<v8::Value>& info) | 1164 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
<v8::Value>& info) |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1548 } | 1549 } |
| 1549 | 1550 |
| 1550 template<> | 1551 template<> |
| 1551 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) | 1552 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) |
| 1552 { | 1553 { |
| 1553 return toV8(impl, creationContext, isolate); | 1554 return toV8(impl, creationContext, isolate); |
| 1554 } | 1555 } |
| 1555 | 1556 |
| 1556 } // namespace WebCore | 1557 } // namespace WebCore |
| 1557 #endif // ENABLE(CONDITION) | 1558 #endif // ENABLE(CONDITION) |
| OLD | NEW |