Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: ppapi/api/private/ppb_flash_drm.idl

Issue 68773004: Pepper: Add MonitorIsExternal function to PPB_Flash_DRM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TODO, interface ordering.x Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 /** 6 /**
7 * This file contains the <code>PPB_Flash_DRM</code> interface. 7 * This file contains the <code>PPB_Flash_DRM</code> interface.
8 */ 8 */
9 9
10 [generate_thunk] 10 [generate_thunk]
11 11
12 label Chrome { 12 label Chrome {
13 M29 = 1.0 13 M29 = 1.0,
14 M33 = 1.1
14 }; 15 };
15 16
16 /** 17 /**
17 * A resource for performing Flash DRM-related operations. 18 * A resource for performing Flash DRM-related operations.
18 */ 19 */
19 interface PPB_Flash_DRM { 20 interface PPB_Flash_DRM {
20 /** 21 /**
21 * Creates a PPB_Flash_DRM resource for performing DRM-related operations in 22 * Creates a PPB_Flash_DRM resource for performing DRM-related operations in
22 * Flash. 23 * Flash.
23 */ 24 */
(...skipping 17 matching lines...) Expand all
41 [out] int64_t hmonitor); 42 [out] int64_t hmonitor);
42 43
43 /** 44 /**
44 * Asynchronously returns a PPB_FileRef resource in |file_ref| which points to 45 * Asynchronously returns a PPB_FileRef resource in |file_ref| which points to
45 * the Voucher file for performing DRM verification. |callback| will be called 46 * the Voucher file for performing DRM verification. |callback| will be called
46 * upon completion. 47 * upon completion.
47 */ 48 */
48 int32_t GetVoucherFile([in] PP_Resource drm, 49 int32_t GetVoucherFile([in] PP_Resource drm,
49 [out] PP_Resource file_ref, 50 [out] PP_Resource file_ref,
50 [in] PP_CompletionCallback callback); 51 [in] PP_CompletionCallback callback);
52
53 /**
54 * Asynchronously returns a value indicating whether the monitor on which the
55 * plugin instance is displayed is external. |callback| will be called upon
56 * completion.
57 */
58 [version=1.1]
59 int32_t MonitorIsExternal([in] PP_Resource drm,
60 [out] PP_Bool is_external,
61 [in] PP_CompletionCallback callback);
51 }; 62 };
52 63
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc ('k') | ppapi/c/private/ppb_flash_drm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698