mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibWeb: Extract MediaType to/from_string() logic into functions
This commit is contained in:
parent
1f114eaebe
commit
28278efafb
3 changed files with 62 additions and 57 deletions
|
@ -258,6 +258,9 @@ String serialize_a_media_query_list(NonnullRefPtrVector<MediaQuery> const&);
|
|||
|
||||
bool is_media_feature_name(StringView name);
|
||||
|
||||
Optional<MediaQuery::MediaType> media_type_from_string(StringView);
|
||||
StringView to_string(MediaQuery::MediaType);
|
||||
|
||||
}
|
||||
|
||||
namespace AK {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue