blob: 946440d2e466f90de26a5febec01120ca548ccc4 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8JavaScriptCallFrame_h
#define V8JavaScriptCallFrame_h
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include <v8.h>
namespace blink {
class JavaScriptCallFrame;
class V8JavaScriptCallFrame {
STATIC_ONLY(V8JavaScriptCallFrame);
public:
static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context>, PassRefPtr<JavaScriptCallFrame>);
static JavaScriptCallFrame* unwrap(v8::Local<v8::Object>);
};
} // namespace blink
#endif // V8JavaScriptCallFrame_h