dom/media/nsIAutoplay.idl
author Narcis Beleuzu <nbeleuzu@mozilla.com>
Tue, 20 Oct 2020 00:37:32 +0300
changeset 553448 e90233e0fe710a06566d5eb4711ca6743db37c14
parent 477584 75a6f48ca07813830b88470606a2145b2f7610e7
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

/* -*- Mode: C++; 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/. */

#include "nsISupports.idl"

[scriptable, uuid(048a24f6-c4d6-47bc-bea2-f6038d1db80a)]
interface nsIAutoplay : nsISupports
{
  /*
   * Possible values for the "media.autoplay.default" preference.
   */
  const uint32_t ALLOWED = 0;
  const uint32_t BLOCKED = 1;
  const uint32_t BLOCKED_ALL = 5;
};