| 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 "V8TestTypedefs.h" |    8 #include "V8TestTypedefs.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  Loading... | 
|  189 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const
      v8::FunctionCallbackInfo<v8::Value>& info) |  189 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const
      v8::FunctionCallbackInfo<v8::Value>& info) | 
|  190 { |  190 { | 
|  191     TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |  191     TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 
|  192     TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth
     od(info); |  192     TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth
     od(info); | 
|  193     TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |  193     TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 
|  194 } |  194 } | 
|  195  |  195  | 
|  196 static void testInterfaceOrTestInterfaceEmptyMethodMethod(const v8::FunctionCall
     backInfo<v8::Value>& info) |  196 static void testInterfaceOrTestInterfaceEmptyMethodMethod(const v8::FunctionCall
     backInfo<v8::Value>& info) | 
|  197 { |  197 { | 
|  198     TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |  198     TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); | 
|  199     RefPtr<TestInterfaceImplementation> result0; |  199     RefPtr<TestInterfaceImplementation> result0 = nullptr; | 
|  200     RefPtr<TestInterfaceEmpty> result1; |  200     RefPtr<TestInterfaceEmpty> result1 = nullptr; | 
|  201     impl->testInterfaceOrTestInterfaceEmptyMethod(result0, result1); |  201     impl->testInterfaceOrTestInterfaceEmptyMethod(result0, result1); | 
|  202     if (result0) { |  202     if (result0) { | 
|  203         v8SetReturnValue(info, result0.release()); |  203         v8SetReturnValue(info, result0.release()); | 
|  204         return; |  204         return; | 
|  205     } |  205     } | 
|  206     if (result1) { |  206     if (result1) { | 
|  207         v8SetReturnValue(info, result1.release()); |  207         v8SetReturnValue(info, result1.release()); | 
|  208         return; |  208         return; | 
|  209     } |  209     } | 
|  210     v8SetReturnValueNull(info); |  210     v8SetReturnValueNull(info); | 
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  408     fromInternalPointer(internalPointer)->deref(); |  408     fromInternalPointer(internalPointer)->deref(); | 
|  409 } |  409 } | 
|  410  |  410  | 
|  411 template<> |  411 template<> | 
|  412 v8::Handle<v8::Value> toV8NoInline(TestTypedefs* impl, v8::Handle<v8::Object> cr
     eationContext, v8::Isolate* isolate) |  412 v8::Handle<v8::Value> toV8NoInline(TestTypedefs* impl, v8::Handle<v8::Object> cr
     eationContext, v8::Isolate* isolate) | 
|  413 { |  413 { | 
|  414     return toV8(impl, creationContext, isolate); |  414     return toV8(impl, creationContext, isolate); | 
|  415 } |  415 } | 
|  416  |  416  | 
|  417 } // namespace blink |  417 } // namespace blink | 
| OLD | NEW |