blob: ec0ccfdc396ca49025e948bff4c55d283ff96a95 [file] [log] [blame]
// Copyright 2018 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.
partial interface Document {
[Measure] readonly attribute boolean pictureInPictureEnabled;
[CallWith=ScriptState, Measure, NewObject] Promise<void> exitPictureInPicture();
// TODO( Define this attribute in DocumentOrShadowRoot.
[Measure] readonly attribute HTMLVideoElement? pictureInPictureElement;