Index: ppapi/c/private/ppb_flash_drm.h |
diff --git a/ppapi/c/private/ppb_flash_drm.h b/ppapi/c/private/ppb_flash_drm.h |
index 85033a40851c5766a844fb9816610972a45b7f51..88d0f765b59b024d590862de07860b4ac8194e1a 100644 |
--- a/ppapi/c/private/ppb_flash_drm.h |
+++ b/ppapi/c/private/ppb_flash_drm.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From private/ppb_flash_drm.idl modified Sat Jun 8 16:45:26 2013. */ |
+/* From private/ppb_flash_drm.idl modified Mon Nov 11 14:49:53 2013. */ |
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_DRM_H_ |
#define PPAPI_C_PRIVATE_PPB_FLASH_DRM_H_ |
@@ -17,7 +17,8 @@ |
#include "ppapi/c/pp_var.h" |
#define PPB_FLASH_DRM_INTERFACE_1_0 "PPB_Flash_DRM;1.0" |
-#define PPB_FLASH_DRM_INTERFACE PPB_FLASH_DRM_INTERFACE_1_0 |
+#define PPB_FLASH_DRM_INTERFACE_1_1 "PPB_Flash_DRM;1.1" |
+#define PPB_FLASH_DRM_INTERFACE PPB_FLASH_DRM_INTERFACE_1_1 |
/** |
* @file |
@@ -32,7 +33,7 @@ |
/** |
* A resource for performing Flash DRM-related operations. |
*/ |
-struct PPB_Flash_DRM_1_0 { |
+struct PPB_Flash_DRM_1_1 { |
/** |
* Creates a PPB_Flash_DRM resource for performing DRM-related operations in |
* Flash. |
@@ -60,9 +61,28 @@ struct PPB_Flash_DRM_1_0 { |
int32_t (*GetVoucherFile)(PP_Resource drm, |
PP_Resource* file_ref, |
struct PP_CompletionCallback callback); |
+ /** |
+ * Asynchronously returns a value indicating whether the monitor on which the |
+ * plugin instance is displayed is external. |callback| will be called upon |
+ * completion. |
+ */ |
+ int32_t (*MonitorIsExternal)(PP_Resource drm, |
+ PP_Bool* is_external, |
+ struct PP_CompletionCallback callback); |
}; |
-typedef struct PPB_Flash_DRM_1_0 PPB_Flash_DRM; |
+typedef struct PPB_Flash_DRM_1_1 PPB_Flash_DRM; |
+ |
+struct PPB_Flash_DRM_1_0 { |
+ PP_Resource (*Create)(PP_Instance instance); |
+ int32_t (*GetDeviceID)(PP_Resource drm, |
+ struct PP_Var* id, |
+ struct PP_CompletionCallback callback); |
+ PP_Bool (*GetHmonitor)(PP_Resource drm, int64_t* hmonitor); |
+ int32_t (*GetVoucherFile)(PP_Resource drm, |
+ PP_Resource* file_ref, |
+ struct PP_CompletionCallback callback); |
+}; |
/** |
* @} |
*/ |