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

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: Fix build error 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. Multiple clients can request content protection at
9 // the same time, and the display will be protection until, all clients
10 // are closed or set |desired_method_mask| to 0 with |SetContentProtection|.
11 interface OutputProtection {
12 // Queries link status and protection status.
13 QueryContentProtectionStatus(int64 display_id) => (bool success,
14 uint32 link_mask,
15 uint32 protection_mask);
16
17 // Requests the desired protection methods.
18 // |protection_mask| is the desired protection methods, which is a bitmask
19 // of the ContentProtectionMethod values.
20 // Returns true when the protection request has been made.
sky 2017/02/13 17:05:01 Returns true on success? Also, document why it mig
Peng 2017/02/13 21:14:47 Done.
21 // When the interface is closed, the content protection mask will be reverted.
22 SetContentProtection(int64 display_id,
23 uint32 desired_method_mask) => (bool success);
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698