mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
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
This commit is contained in:
parent
2dfb617c5b
commit
1422bd45eb
63 changed files with 133 additions and 133 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue