tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

GVAutoplayRequestUtils.h (796B)


      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/. */
      4 
      5 #ifndef DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_
      6 #define DOM_MEDIA_GVAUTOPLAYREQUESTUTILS_H_
      7 
      8 #include <cstdint>
      9 
     10 #include "mozilla/DefineEnum.h"
     11 
     12 namespace mozilla {
     13 namespace dom {
     14 
     15 MOZ_DEFINE_ENUM_CLASS_WITH_BASE_AND_TOSTRING(GVAutoplayRequestType, bool,
     16                                             (eINAUDIBLE, eAUDIBLE));
     17 
     18 MOZ_DEFINE_ENUM_CLASS_WITH_BASE_AND_TOSTRING(GVAutoplayRequestStatus, uint32_t,
     19                                             (eUNKNOWN, eALLOWED, eDENIED,
     20                                              ePENDING));
     21 
     22 }  // namespace dom
     23 }  // namespace mozilla
     24 
     25 #endif