| OLD | NEW |
| 1 /* Copyright (c) 2012 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 /* From dev/ppb_device_ref_dev.idl modified Wed Nov 07 13:28:37 2012. */ | 6 /* From dev/ppb_device_ref_dev.idl modified Mon Jan 09 12:04:09 2017. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ |
| 9 #define PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ | 9 #define PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
| 13 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
| 16 | 16 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 /** | 48 /** |
| 49 * @addtogroup Enums | 49 * @addtogroup Enums |
| 50 * @{ | 50 * @{ |
| 51 */ | 51 */ |
| 52 /** | 52 /** |
| 53 * Device types. | 53 * Device types. |
| 54 */ | 54 */ |
| 55 typedef enum { | 55 typedef enum { |
| 56 PP_DEVICETYPE_DEV_INVALID = 0, | 56 PP_DEVICETYPE_DEV_INVALID = 0, |
| 57 PP_DEVICETYPE_DEV_AUDIOCAPTURE = 1, | 57 PP_DEVICETYPE_DEV_AUDIOCAPTURE = 1, |
| 58 PP_DEVICETYPE_DEV_VIDEOCAPTURE = 2 | 58 PP_DEVICETYPE_DEV_VIDEOCAPTURE = 2, |
| 59 PP_DEVICETYPE_DEV_AUDIOOUTPUT = 3 |
| 59 } PP_DeviceType_Dev; | 60 } PP_DeviceType_Dev; |
| 60 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DeviceType_Dev, 4); | 61 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DeviceType_Dev, 4); |
| 61 /** | 62 /** |
| 62 * @} | 63 * @} |
| 63 */ | 64 */ |
| 64 | 65 |
| 65 /** | 66 /** |
| 66 * @addtogroup Interfaces | 67 * @addtogroup Interfaces |
| 67 * @{ | 68 * @{ |
| 68 */ | 69 */ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 99 struct PP_Var (*GetName)(PP_Resource device_ref); | 100 struct PP_Var (*GetName)(PP_Resource device_ref); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 typedef struct PPB_DeviceRef_Dev_0_1 PPB_DeviceRef_Dev; | 103 typedef struct PPB_DeviceRef_Dev_0_1 PPB_DeviceRef_Dev; |
| 103 /** | 104 /** |
| 104 * @} | 105 * @} |
| 105 */ | 106 */ |
| 106 | 107 |
| 107 #endif /* PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ */ | 108 #endif /* PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ */ |
| 108 | 109 |
| OLD | NEW |