| Index: ppapi/c/trusted/ppb_image_data_trusted.h
|
| ===================================================================
|
| --- ppapi/c/trusted/ppb_image_data_trusted.h (revision 92721)
|
| +++ ppapi/c/trusted/ppb_image_data_trusted.h (working copy)
|
| @@ -1,15 +1,31 @@
|
| -/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +/* Copyright (c) 2011 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.
|
| */
|
| +
|
| +/* From trusted/ppb_image_data_trusted.idl modified Fri Jul 15 13:52:48 2011. */
|
| +
|
| #ifndef PPAPI_C_TRUSTED_PPB_IMAGE_DATA_TRUSTED_H_
|
| #define PPAPI_C_TRUSTED_PPB_IMAGE_DATA_TRUSTED_H_
|
|
|
| +#include "ppapi/c/pp_macros.h"
|
| +#include "ppapi/c/pp_resource.h"
|
| #include "ppapi/c/pp_stdint.h"
|
| -#include "ppapi/c/pp_resource.h"
|
|
|
| -#define PPB_IMAGEDATA_TRUSTED_INTERFACE "PPB_ImageDataTrusted;0.4"
|
| +/**
|
| + * @file
|
| + * This file defines the trusted ImageData interface.
|
| + */
|
|
|
| +
|
| +/**
|
| + * @addtogroup Interfaces
|
| + * @{
|
| + */
|
| +/** Trusted interface */
|
| +#define PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4 "PPB_ImageDataTrusted;0.4"
|
| +#define PPB_IMAGEDATA_TRUSTED_INTERFACE PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4
|
| +
|
| struct PPB_ImageDataTrusted {
|
| /**
|
| * Returns the internal shared memory pointer associated with the given
|
| @@ -21,7 +37,12 @@
|
| int32_t (*GetSharedMemory)(PP_Resource image_data,
|
| int* handle,
|
| uint32_t* byte_count);
|
| +
|
| };
|
|
|
| -#endif // PPAPI_C_TRUSTED_PPB_IMAGE_DATA_TRUSTED_H_
|
| +/**
|
| + * @}
|
| + */
|
|
|
| +#endif /* PPAPI_C_TRUSTED_PPB_IMAGE_DATA_TRUSTED_H_ */
|
| +
|
|
|