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
3 // found in the LICENSE file.
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
10 {% for filename in header_includes %}
11 #include "{{filename}}"
20 static {{cpp_class}}* toImpl(v8::Isolate*, v8::Handle<v8::Value>, ExceptionState&);
23 v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object>, v8::Isolate*);
25 template<class CallbackInfo>
26 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}* impl)
28 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
33 #endif // {{v8_class}}_h