chromium/third_party/blink/renderer/modules/presentation/presentation.idl

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://w3c.github.io/presentation-api/#interface-presentation

[
    RuntimeEnabled=Presentation,
    SecureContext,
    Exposed=Window
] interface Presentation {
    [MeasureAs=PresentationDefaultRequest] attribute PresentationRequest? defaultRequest;

    // This API is available on the receiving browsing context.
    [SameObject] readonly attribute PresentationReceiver? receiver;
};