diff options
author | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 01:33:37 +0000 |
---|---|---|
committer | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 01:33:37 +0000 |
commit | 5a9f47ad788a638bae138edc5e35751c4e5865d2 (patch) | |
tree | 385a0ba81c8b4a52c71b850c09175e981f2add94 /ppapi/proxy/flash_drm_resource.h | |
parent | 6268d3af3d1ff0744960798b7f65f81780f636ef (diff) | |
download | chromium_src-5a9f47ad788a638bae138edc5e35751c4e5865d2.zip chromium_src-5a9f47ad788a638bae138edc5e35751c4e5865d2.tar.gz chromium_src-5a9f47ad788a638bae138edc5e35751c4e5865d2.tar.bz2 |
Pepper: Add MonitorIsExternal function to PPB_Flash_DRM.
This adds the Pepper boilerplate code, including messages,
for implementing a new MonitorIsExternal method. The
implementation in PepperFlashDRMHost is stubbed out.
BUG=none
Review URL: https://codereview.chromium.org/68773004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/flash_drm_resource.h')
-rw-r--r-- | ppapi/proxy/flash_drm_resource.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/proxy/flash_drm_resource.h b/ppapi/proxy/flash_drm_resource.h index 9a4b31c..dd2b599 100644 --- a/ppapi/proxy/flash_drm_resource.h +++ b/ppapi/proxy/flash_drm_resource.h @@ -35,6 +35,9 @@ class FlashDRMResource virtual int32_t GetVoucherFile( PP_Resource* file_ref, scoped_refptr<TrackedCallback> callback) OVERRIDE; + virtual int32_t MonitorIsExternal( + PP_Bool* is_external, + scoped_refptr<TrackedCallback> callback) OVERRIDE; private: void OnPluginMsgGetDeviceIDReply(PP_Var* dest, @@ -45,6 +48,11 @@ class FlashDRMResource scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const FileRefCreateInfo& file_info); + void OnPluginMsgMonitorIsExternalReply( + PP_Bool* dest, + scoped_refptr<TrackedCallback> callback, + const ResourceMessageReplyParams& params, + PP_Bool is_external); DISALLOW_COPY_AND_ASSIGN(FlashDRMResource); }; |