| OLD | NEW |
| 1 /* Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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_PRIVATE_H_ | 6 #ifndef _NP_EXTENSIONS_PRIVATE_H_ |
| 7 #define _NP_EXTENSIONS_PRIVATE_H_ | 7 #define _NP_EXTENSIONS_PRIVATE_H_ |
| 8 | 8 |
| 9 #include "third_party/npapi/bindings/npapi.h" | 9 #include "third_party/npapi/bindings/npapi.h" |
| 10 | 10 |
| 11 // Some reserved GetStateContext/SetStateContext selectors. | 11 // Some reserved GetStateContext/SetStateContext selectors. |
| 12 typedef enum { | 12 typedef enum { |
| 13 NPExtensionsReservedStateSharedMemory = 66536, | 13 NPExtensionsReservedStateSharedMemory = 66536, |
| 14 // Used by the Device2D and Audio devices to return a pointer to the | 14 // Used by the Device2D and Audio devices to return a pointer to the |
| 15 // structure used to implement the shared memory buffer for the device. | 15 // structure used to implement the shared memory buffer for the device. |
| 16 NPExtensionsReservedStateSharedMemorySize = 66537, | 16 NPExtensionsReservedStateSharedMemorySize = 66537, |
| 17 // Used by the Audio device to return a pointer to the | 17 // Used by the Audio device to return a pointer to the |
| 18 // structure used to implement the shared memory buffer for the device. | 18 // structure used to implement the shared memory buffer for the device. |
| 19 NPExtensionsReservedStateSyncChannel = 66538, | 19 NPExtensionsReservedStateSyncChannel = 66538, |
| 20 // Used by the Audio device to return a pointer to the | 20 // Used by the Audio device to return a pointer to the |
| 21 // structure used to implement the synchronization channel for the device. | 21 // structure used to implement the synchronization channel for the device. |
| 22 NPExtensionsReservedStateSharedMemoryChecksum = 66539 | 22 NPExtensionsReservedStateSharedMemoryChecksum = 66539 |
| 23 // Used by the Device2D to return the CRC32 checksum of the content | 23 // Used by the Device2D to return the CRC32 checksum of the content |
| 24 // stored in the shared memory buffer for the device. | 24 // stored in the shared memory buffer for the device. |
| 25 } NPExtensionsReservedStates; | 25 } NPExtensionsReservedStates; |
| 26 | 26 |
| 27 #endif /* _NP_EXTENSIONS_PRIVATE_H_ */ | 27 #endif /* _NP_EXTENSIONS_PRIVATE_H_ */ |
| OLD | NEW |