| 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_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_NPAPI_EXTENSION_THUNK_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_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 NPAPI { | 13 namespace webkit { |
| 14 namespace npapi { |
| 14 | 15 |
| 15 // Implements NPN_GetValue for the case of NPNVPepperExtensions. The function | 16 // Implements NPN_GetValue for the case of NPNVPepperExtensions. The function |
| 16 // pointers in the returned structure implement all the extensions. | 17 // pointers in the returned structure implement all the extensions. |
| 17 NPError GetPepperExtensionsFunctions(void* value); | 18 NPError GetPepperExtensionsFunctions(void* value); |
| 18 | 19 |
| 19 } // namespace NPAPI | 20 } // namespace npapi |
| 21 } // namespace webkit |
| 20 | 22 |
| 21 #endif // WEBKIT_GLUE_PLUGINS_NPAPI_EXTENSION_THUNK_H_ | 23 #endif // WEBKIT_PLUGINS_NPAPI_NPAPI_EXTENSION_THUNK_H_ |
| 22 | 24 |
| 23 | 25 |
| OLD | NEW |