HTMLVideoElement.cpp 570 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Bindings/HTMLVideoElementPrototype.h>
  7. #include <LibWeb/HTML/HTMLVideoElement.h>
  8. #include <LibWeb/HTML/Window.h>
  9. namespace Web::HTML {
  10. HTMLVideoElement::HTMLVideoElement(DOM::Document& document, DOM::QualifiedName qualified_name)
  11. : HTMLMediaElement(document, move(qualified_name))
  12. {
  13. set_prototype(&window().ensure_web_prototype<Bindings::HTMLVideoElementPrototype>("HTMLVideoElement"));
  14. }
  15. HTMLVideoElement::~HTMLVideoElement() = default;
  16. }