OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef WEBKIT_PLUGINS_NPAPI_NPAPI_EXTENSION_THUNK_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_NPAPI_EXTENSION_THUNK_H_ | 6 #define WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ |
7 | 7 |
8 #include "third_party/npapi/bindings/npapi_extensions.h" | 8 #include "third_party/npapi/bindings/npapi_extensions.h" |
9 | 9 |
10 // This file implements forwarding for the NPAPI "Pepper" extensions through to | 10 // This file implements forwarding for the NPAPI "Pepper" extensions through to |
11 // the WebPluginDelegate associated with the plugin. | 11 // the WebPluginDelegate associated with the plugin. |
12 | 12 |
13 namespace webkit { | 13 namespace NPAPI { |
14 namespace npapi { | |
15 | 14 |
16 // Implements NPN_GetValue for the case of NPNVPepperExtensions. The function | 15 // Implements NPN_GetValue for the case of NPNVPepperExtensions. The function |
17 // pointers in the returned structure implement all the extensions. | 16 // pointers in the returned structure implement all the extensions. |
18 NPError GetPepperExtensionsFunctions(void* value); | 17 NPError GetPepperExtensionsFunctions(void* value); |
19 | 18 |
20 } // namespace npapi | 19 } // namespace NPAPI |
21 } // namespace webkit | |
22 | 20 |
23 #endif // WEBKIT_PLUGINS_NPAPI_NPAPI_EXTENSION_THUNK_H_ | 21 #endif // WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ |
24 | 22 |
25 | 23 |
OLD | NEW |