blob: 67869219e9ecc6efc8af50b0f576669a106b3cc2 [file] [log] [blame]
// Copyright (c) 2011 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.
#pragma once
#include "v8/include/v8.h"
#include <string>
class ExtensionDispatcher;
class GURL;
class RenderView;
// This class adds extension-related javascript bindings to a renderer. It is
// used by both web renderers and extension processes.
class RendererExtensionBindings {
// Name of extension, for dependencies.
static const char* kName;
// Creates an instance of the extension.
static v8::Extension* Get(ExtensionDispatcher* dispatcher);