Backed out 7 changesets (bug 1942424) for causing frequent crashes. a=backout
[gecko.git] / dom / media / autoplay / GVAutoplayRequestUtils.h
blob61a27a1739eeb724dcf00efa59b4a39668f88889
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_
6 #define DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_
8 #include <cstdint>
10 #include "mozilla/DefineEnum.h"
12 namespace mozilla {
13 namespace dom {
15 MOZ_DEFINE_ENUM_CLASS_WITH_BASE_AND_TOSTRING(GVAutoplayRequestType, bool,
16 (eINAUDIBLE, eAUDIBLE));
18 MOZ_DEFINE_ENUM_CLASS_WITH_BASE_AND_TOSTRING(GVAutoplayRequestStatus, uint32_t,
19 (eUNKNOWN, eALLOWED, eDENIED,
20 ePENDING));
22 } // namespace dom
23 } // namespace mozilla
25 #endif