| Index: services/ui/public/interfaces/display/display_controller.mojom
|
| diff --git a/services/ui/public/interfaces/display/display_controller.mojom b/services/ui/public/interfaces/display/display_controller.mojom
|
| index 30fe11ca724bb5960b9123591963886aee4ec301..e0df624f3237c7b838dfa5b3fa9dcb4f1c0bf75f 100644
|
| --- a/services/ui/public/interfaces/display/display_controller.mojom
|
| +++ b/services/ui/public/interfaces/display/display_controller.mojom
|
| @@ -52,4 +52,28 @@ interface DisplayController {
|
| // TODO(kylechar): This interface will need to be expanded to provide
|
| // additional functionality for the display settings page and other ash
|
| // keyboard accelerators.
|
| +
|
| + // ========================= Content Protection ==============================
|
| +
|
| + // Registers a client for display protection and requests a client id. Returns
|
| + // 0 if requesting failed.
|
| + [Sync]
|
| + RegisterContentProtectionClient() => (uint64 client_id);
|
| +
|
| + // Unregisters the client.
|
| + UnregisterContentProtectionClient(uint64 client_id);
|
| +
|
| + // Queries link status and protection status.
|
| + QueryContentProtectionStatus(uint64 client_id,
|
| + int64 display_id) => (bool success,
|
| + uint32 link_mask,
|
| + uint32 protection_mask);
|
| +
|
| + // Requests the desired protection methods.
|
| + // |protection_mask| is the desired protection methods, which is a bitmask
|
| + // of the ContentProtectionMethod values.
|
| + // Returns true when the protection request has been made.
|
| + EnableContentProtection(uint64 client_id,
|
| + int64 display_id,
|
| + uint32 desired_method_mask) => (bool success);
|
| };
|
|
|