summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/npapi_extension_thunk.h
blob: fada6bc2036d9ac633d76bb84d5883bfef13f589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2009 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 WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_
#define WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_

#include "third_party/npapi/bindings/npapi_extensions.h"

// This file implements forwarding for the NPAPI "Pepper" extensions through to
// the WebPluginDelegate associated with the plugin.

namespace NPAPI {

// Implements NPN_GetValue for the case of NPNVPepperExtensions. The function
// pointers in the returned structure implement all the extensions.
NPError GetPepperExtensionsFunctions(void* value);

}  // namespace NPAPI

#endif  // WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_