diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-07 23:08:26 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-08 00:30:30 +0100 |
commit | 1422bd45ebda117238c452b4cf2ba7d1b54ce453 (patch) | |
tree | c35ff8fb4ffb1c36ff0e17f5b27c4c89189fad76 /Userland/Libraries/LibWeb/CSS/MediaQuery.h | |
parent | 2dfb617c5bf5557052a4fded2cc37ab8574a5e93 (diff) | |
download | serenity-1422bd45ebda117238c452b4cf2ba7d1b54ce453.zip |
LibWeb: Move Window from DOM directory & namespace to HTML
The Window object is part of the HTML spec. :^)
https://html.spec.whatwg.org/multipage/window-object.html
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/MediaQuery.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/MediaQuery.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/MediaQuery.h b/Userland/Libraries/LibWeb/CSS/MediaQuery.h index 60871335d2..9cf0357b67 100644 --- a/Userland/Libraries/LibWeb/CSS/MediaQuery.h +++ b/Userland/Libraries/LibWeb/CSS/MediaQuery.h @@ -140,7 +140,7 @@ public: return feature; } - bool evaluate(DOM::Window const&) const; + bool evaluate(HTML::Window const&) const; String to_string() const; private: @@ -159,7 +159,7 @@ private: { } - static bool compare(DOM::Window const& window, MediaFeatureValue left, Comparison comparison, MediaFeatureValue right); + static bool compare(HTML::Window const& window, MediaFeatureValue left, Comparison comparison, MediaFeatureValue right); struct Range { MediaFeatureValue left_value; @@ -196,7 +196,7 @@ struct MediaCondition { static NonnullOwnPtr<MediaCondition> from_and_list(NonnullOwnPtrVector<MediaCondition>&&); static NonnullOwnPtr<MediaCondition> from_or_list(NonnullOwnPtrVector<MediaCondition>&&); - MatchResult evaluate(DOM::Window const&) const; + MatchResult evaluate(HTML::Window const&) const; String to_string() const; private: @@ -234,7 +234,7 @@ public: static NonnullRefPtr<MediaQuery> create() { return adopt_ref(*new MediaQuery); } bool matches() const { return m_matches; } - bool evaluate(DOM::Window const&); + bool evaluate(HTML::Window const&); String to_string() const; private: |