1 // Copyright 2014 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.
5 // http://webscreens.github.io/presentation-api/#presentationsession
7 enum PresentationSessionState {
14 RuntimeEnabled=Presentation
15 ] interface PresentationSession : EventTarget {
16 readonly attribute DOMString? id;
17 readonly attribute PresentationSessionState state;
19 void postMessage(DOMString message);
22 attribute EventHandler onmessage;
23 attribute EventHandler onstatechange;