| OLD | NEW |
| 1 /* Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2006-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 | 5 |
| 6 #ifndef _NP_EXTENSIONS_H_ | 6 #ifndef _NP_EXTENSIONS_H_ |
| 7 #define _NP_EXTENSIONS_H_ | 7 #define _NP_EXTENSIONS_H_ |
| 8 | 8 |
| 9 // Use the shorter include path here so that this file can be used in non- | 9 // Use the shorter include path here so that this file can be used in non- |
| 10 // Chromium projects, such as the Native Client SDK. | 10 // Chromium projects, such as the Native Client SDK. |
| 11 #include "npapi.h" | 11 #include "npapi.h" |
| 12 | 12 |
| 13 #include <stddef.h> // For size_t |
| 14 |
| 13 /* | 15 /* |
| 14 * A fake "enum" value for getting browser-implemented Pepper extensions. | 16 * A fake "enum" value for getting browser-implemented Pepper extensions. |
| 15 * The variable returns a pointer to an NPNExtensions structure. */ | 17 * The variable returns a pointer to an NPNExtensions structure. */ |
| 16 #define NPNVPepperExtensions ((NPNVariable) 4000) | 18 #define NPNVPepperExtensions ((NPNVariable) 4000) |
| 17 | 19 |
| 18 /* | 20 /* |
| 19 * A fake "enum" value for getting plugin-implemented Pepper extensions. | 21 * A fake "enum" value for getting plugin-implemented Pepper extensions. |
| 20 * The variable returns a pointer to an NPPExtensions structure. */ | 22 * The variable returns a pointer to an NPPExtensions structure. */ |
| 21 #define NPPVPepperExtensions ((NPPVariable) 4001) | 23 #define NPPVPepperExtensions ((NPPVariable) 4001) |
| 22 | 24 |
| (...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 | 964 |
| 963 typedef struct _NPPExtensions { | 965 typedef struct _NPPExtensions { |
| 964 NPPGetPrintExtensionsPtr getPrintExtensions; | 966 NPPGetPrintExtensionsPtr getPrintExtensions; |
| 965 NPPGetFindExtensionsPtr getFindExtensions; | 967 NPPGetFindExtensionsPtr getFindExtensions; |
| 966 NPPZoomPtr zoom; | 968 NPPZoomPtr zoom; |
| 967 NPPWidgetPropertyChangedPtr widgetPropertyChanged; | 969 NPPWidgetPropertyChangedPtr widgetPropertyChanged; |
| 968 NPPCopyPtr copy; | 970 NPPCopyPtr copy; |
| 969 } NPPExtensions; | 971 } NPPExtensions; |
| 970 | 972 |
| 971 #endif /* _NP_EXTENSIONS_H_ */ | 973 #endif /* _NP_EXTENSIONS_H_ */ |
| OLD | NEW |