summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/presentation/Presentation.idl
blob: 968abdeb486e370a5c9457a7a5b15fdc9038d016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2014 The Chromium Authors. All rights reserved.
// 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

[
    GarbageCollected,
    RuntimeEnabled=Presentation
] interface Presentation {
    [MeasureAs=PresentationDefaultRequest] attribute PresentationRequest? defaultRequest;

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