mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
Generated enums have no underlying type specifier, this adds one It uses the smallest available, which is mostly u8
20 lines
326 B
C++
20 lines
326 B
C++
/*
|
|
* Copyright (c) 2025, Psychpsyo <psychpsyo@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
namespace Web::Bindings {
|
|
|
|
// https://w3c.github.io/encrypted-media/#dom-mediakeysrequirement
|
|
enum class MediaKeysRequirement : u8 {
|
|
Required,
|
|
Optional,
|
|
NotAllowed
|
|
};
|
|
|
|
}
|