summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings/npapi_extensions_private.h
blob: 3b0a4587baffec006ed280055cad23504aede046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef _NP_EXTENSIONS_PRIVATE_H_
#define _NP_EXTENSIONS_PRIVATE_H_

#include "third_party/npapi/bindings/npapi.h"

// Some reserved GetStateContext/SetStateContext selectors.
typedef enum {
  NPExtensionsReservedStateSharedMemory = 66536,
  // Used by the Device2D and Audio devices to return a pointer to the
  // structure used to implement the shared memory buffer for the device.
  NPExtensionsReservedStateSharedMemorySize = 66537,
  // Used by the Audio device to return a pointer to the
  // structure used to implement the shared memory buffer for the device.
  NPExtensionsReservedStateSyncChannel = 66538,
  // Used by the Audio device to return a pointer to the
  // structure used to implement the synchronization channel for the device.
  NPExtensionsReservedStateSharedMemoryChecksum = 66539
  // Used by the Device2D to return the CRC32 checksum of the content
  // stored in the shared memory buffer for the device.
} NPExtensionsReservedStates;

#endif  /* _NP_EXTENSIONS_PRIVATE_H_ */