gecko-dev/dom/webidl/PresentationConnectionAvailableEvent.webidl
Shih-Chiang Chien 5695b2c3e7 Bug 1278205 - use preference for exposing presentation API. r=smaug.
MozReview-Commit-ID: AXkZmPe9J6k

--HG--
extra : rebase_source : 4edf7b15349f235f0f655edadbce340b22a6abf7
2016-06-03 19:50:30 +08:00

19 lines
667 B
Text

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
[Constructor(DOMString type,
PresentationConnectionAvailableEventInit eventInitDict),
Pref="dom.presentation.enabled"]
interface PresentationConnectionAvailableEvent : Event
{
[SameObject]
readonly attribute PresentationConnection connection;
};
dictionary PresentationConnectionAvailableEventInit : EventInit
{
required PresentationConnection connection;
};