diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 23:59:51 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 23:59:51 +0000 |
commit | e2f33d465731b1d1af32952c0283fdee8a280b81 (patch) | |
tree | f3aa2fe94a718ae55bfe0b74766283a75a3b4038 /ppapi | |
parent | b4fc88dd7618c3561f067a21ad8eff61b31bcd34 (diff) | |
download | chromium_src-e2f33d465731b1d1af32952c0283fdee8a280b81.zip chromium_src-e2f33d465731b1d1af32952c0283fdee8a280b81.tar.gz chromium_src-e2f33d465731b1d1af32952c0283fdee8a280b81.tar.bz2 |
[Mac] Add an implementation of MonitorFinder to support PepperFlashDRMHost.
BUG=249135
Review URL: https://codereview.chromium.org/132063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/api/private/ppb_flash_drm.idl | 8 | ||||
-rw-r--r-- | ppapi/c/private/ppb_flash_drm.h | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/ppapi/api/private/ppb_flash_drm.idl b/ppapi/api/private/ppb_flash_drm.idl index c6f6eff..a5da967 100644 --- a/ppapi/api/private/ppb_flash_drm.idl +++ b/ppapi/api/private/ppb_flash_drm.idl @@ -34,9 +34,11 @@ interface PPB_Flash_DRM { [in] PP_CompletionCallback callback); /** - * Windows only. Synchronously outputs the HMONITOR corresponding to the - * monitor on which the plugin instance is displayed in |hmonitor|. PP_TRUE is - * returned on success. + * Windows and Mac only. Synchronously outputs the HMONITOR or + * CGDirectDisplayID corresponding to the monitor on which the plugin instance + * is displayed in |hmonitor|. This value is queried asynchronously and this + * will return PP_FALSE if the value is not yet available or an error + * occurred. PP_TRUE is returned on success. */ PP_Bool GetHmonitor([in] PP_Resource drm, [out] int64_t hmonitor); diff --git a/ppapi/c/private/ppb_flash_drm.h b/ppapi/c/private/ppb_flash_drm.h index 88d0f76..62f7226 100644 --- a/ppapi/c/private/ppb_flash_drm.h +++ b/ppapi/c/private/ppb_flash_drm.h @@ -48,9 +48,11 @@ struct PPB_Flash_DRM_1_1 { struct PP_Var* id, struct PP_CompletionCallback callback); /** - * Windows only. Synchronously outputs the HMONITOR corresponding to the - * monitor on which the plugin instance is displayed in |hmonitor|. PP_TRUE is - * returned on success. + * Windows and Mac only. Synchronously outputs the HMONITOR or + * CGDirectDisplayID corresponding to the monitor on which the plugin instance + * is displayed in |hmonitor|. This value is queried asynchronously and this + * will return PP_FALSE if the value is not yet available or an error + * occurred. PP_TRUE is returned on success. */ PP_Bool (*GetHmonitor)(PP_Resource drm, int64_t* hmonitor); /** |