mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
LibWeb: Stub HTMLMediaElement.load
This commit is contained in:
parent
62e3117dfd
commit
377eb09492
3 changed files with 8 additions and 0 deletions
|
@ -35,4 +35,9 @@ Bindings::CanPlayTypeResult HTMLMediaElement::can_play_type(String const& type)
|
||||||
return Bindings::CanPlayTypeResult::Empty;
|
return Bindings::CanPlayTypeResult::Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void HTMLMediaElement::load() const
|
||||||
|
{
|
||||||
|
dbgln("(STUBBED) HTMLMediaElement::load()");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,8 @@ public:
|
||||||
|
|
||||||
Bindings::CanPlayTypeResult can_play_type(String const& type) const;
|
Bindings::CanPlayTypeResult can_play_type(String const& type) const;
|
||||||
|
|
||||||
|
void load() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
HTMLMediaElement(DOM::Document&, DOM::QualifiedName);
|
HTMLMediaElement(DOM::Document&, DOM::QualifiedName);
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,4 +18,5 @@ interface HTMLMediaElement : HTMLElement {
|
||||||
[Reflect] attribute boolean controls;
|
[Reflect] attribute boolean controls;
|
||||||
|
|
||||||
CanPlayTypeResult canPlayType(DOMString type);
|
CanPlayTypeResult canPlayType(DOMString type);
|
||||||
|
undefined load();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue