Home | History | Annotate | Download | only in bindings
      1 /* Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
      2  * Use of this source code is governed by a BSD-style license that can be
      3  * found in the LICENSE file.
      4  */
      5 
      6 #ifndef _NP_EXTENSIONS_PRIVATE_H_
      7 #define _NP_EXTENSIONS_PRIVATE_H_
      8 
      9 #include "third_party/npapi/bindings/npapi.h"
     10 
     11 // Some reserved GetStateContext/SetStateContext selectors.
     12 typedef enum {
     13   NPExtensionsReservedStateSharedMemory = 66536,
     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.
     16   NPExtensionsReservedStateSharedMemorySize = 66537,
     17   // Used by the Audio device to return a pointer to the
     18   // structure used to implement the shared memory buffer for the device.
     19   NPExtensionsReservedStateSyncChannel = 66538,
     20   // Used by the Audio device to return a pointer to the
     21   // structure used to implement the synchronization channel for the device.
     22   NPExtensionsReservedStateSharedMemoryChecksum = 66539
     23   // Used by the Device2D to return the CRC32 checksum of the content
     24   // stored in the shared memory buffer for the device.
     25 } NPExtensionsReservedStates;
     26 
     27 #endif  /* _NP_EXTENSIONS_PRIVATE_H_ */
     28