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

/* 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/. */

#ifndef DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_
#define DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_

#include <cstdint>

namespace mozilla {
namespace dom {

enum class GVAutoplayRequestType : bool { eINAUDIBLE = false, eAUDIBLE = true };

enum class GVAutoplayRequestStatus : uint32_t {
  eUNKNOWN,
  eALLOWED,
  eDENIED,
  ePENDING,
};

}  // namespace dom
}  // namespace mozilla

#endif