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

Side by Side Diff: services/ui/public/interfaces/display/output_protection.mojom

Issue 2675743002: PPAPI: Make output protection API work with mus+ash (Closed)
Patch Set: Update Created 3 years, 10 months 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module display.mojom;
6
7 // An interface for clients that are allowed to control the display output
8 // content protection.
9 interface OutputProtection {
sky 2017/02/10 19:24:56 Do we care about multiple clients trying to use th
Peng 2017/02/10 20:35:47 I am not sure. But I checked the netflix, it will
kcwu 2017/02/11 01:45:21 The api allows multiple clients at the same time.
Peng 2017/02/13 21:14:46 Refined the document.
10 // Queries link status and protection status.
11 QueryContentProtectionStatus(int64 display_id) => (bool success,
12 uint32 link_mask,
13 uint32 protection_mask);
14
15 // Requests the desired protection methods.
16 // |protection_mask| is the desired protection methods, which is a bitmask
17 // of the ContentProtectionMethod values.
18 // Returns true when the protection request has been made.
19 EnableContentProtection(int64 display_id,
sky 2017/02/10 19:24:56 Isn't this more of SetContentProtectionMethod() ?
Peng 2017/02/10 20:35:47 I assume it too. kcwu@, Could you please confirm
kcwu 2017/02/11 01:45:21 Yes. When the interface is closed, the request fro
Peng 2017/02/13 21:14:46 Refined the document. And renamed it to SetContent
20 uint32 desired_method_mask) => (bool success);
sky 2017/02/10 19:24:56 Please define the enum in the mojom.
Peng 2017/02/10 20:35:47 For the desired_method_mask? But chrome doesn't us
kcwu 2017/02/11 01:45:21 It is a bitmask in order to support other protecti
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698