| OLD | NEW |
| (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 { |
| 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, |
| 20 uint32 desired_method_mask) => (bool success); |
| 21 }; |
| OLD | NEW |